[Webkit-unassigned] [Bug 66145] [chromium] Assert that main thread and compositor thread are used safely

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 12 11:17:22 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=66145





--- Comment #3 from Iain Merrick <husky at google.com>  2011-08-12 11:17:23 PST ---
If we switch modes in a function we could just block-scope it, no?

void foo() {
  {
    CCThreadRestriction mode(Paint);
    paint();
  }
  {
    CCThreadRestriction mode(Commit);
    commit();
  }
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list