[Webkit-unassigned] [Bug 98108] Correct detection of context type in WorldContextHandle

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 1 22:39:36 PDT 2012


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





--- Comment #3 from Adam Barth <abarth at webkit.org>  2012-10-01 22:39:59 PST ---
(From update of attachment 166596)
View in context: https://bugs.webkit.org/attachment.cgi?id=166596&action=review

>> Source/WebCore/bindings/v8/WorldContextHandle.cpp:60
>> +    if (UNLIKELY(typeInfo == &V8DedicatedWorkerContext::info)) {
> 
> UNLIKELY() would not be helpful in .cpp. You can remove it.

Actually, UNLIKELY and LIKELY don't do anything on the compilers and architectures we use.  We might want to just remove them from the project.

-- 
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