[chromium] Rename LayerChromium::name to debugName to be more consistent with other debug properties, make threadsafe
Created attachment 129147 [details] Patch
Comment on attachment 129147 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=129147&action=review Yay, thread safety. > Source/WebKit/chromium/tests/LayerChromiumTest.cpp:-492 > - EXECUTE_AND_VERIFY_SET_NEEDS_COMMIT_BEHAVIOR(0, testLayer->setName("Test Layer")); nit: Can you move this line to the section that makes sure it does call needsCommit rather than just removing it?
Committed r109466: <http://trac.webkit.org/changeset/109466>
(In reply to comment #2) > (From update of attachment 129147 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=129147&action=review > > Yay, thread safety. > > > Source/WebKit/chromium/tests/LayerChromiumTest.cpp:-492 > > - EXECUTE_AND_VERIFY_SET_NEEDS_COMMIT_BEHAVIOR(0, testLayer->setName("Test Layer")); > > nit: Can you move this line to the section that makes sure it does call needsCommit rather than just removing it? Done!