Changeset 87424 in webkit


Ignore:
Timestamp:
May 26, 2011 1:09:55 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-26 Leandro Gracia Gil <leandrogracia@chromium.org>

Reviewed by Dmitry Titov.

[V8] Add missing compile guards for WebWorkers in WebCore.
https://bugs.webkit.org/show_bug.cgi?id=61535

No new tests - refactoring only.

  • bindings/v8/V8AbstractEventListener.cpp: (WebCore::V8AbstractEventListener::invokeEventHandler):
  • bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::instantiateV8Object):
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r87423 r87424  
     12011-05-26  Leandro Gracia Gil  <leandrogracia@chromium.org>
     2
     3        Reviewed by Dmitry Titov.
     4
     5        [V8] Add missing compile guards for WebWorkers in WebCore.
     6        https://bugs.webkit.org/show_bug.cgi?id=61535
     7
     8        No new tests - refactoring only.
     9
     10        * bindings/v8/V8AbstractEventListener.cpp:
     11        (WebCore::V8AbstractEventListener::invokeEventHandler):
     12        * bindings/v8/V8DOMWrapper.cpp:
     13        (WebCore::V8DOMWrapper::instantiateV8Object):
     14
    1152011-05-26  Mihai Parparita  <mihaip@chromium.org>
    216
  • trunk/Source/WebCore/bindings/v8/V8AbstractEventListener.cpp

    r83900 r87424  
    157157
    158158        if (!tryCatch.CanContinue()) { // Result of TerminateExecution().
     159#if ENABLE(WORKERS)
    159160            if (context->isWorkerContext())
    160161                static_cast<WorkerContext*>(context)->script()->forbidExecution();
     162#endif
    161163            return;
    162164        }
  • trunk/Source/WebCore/bindings/v8/V8DOMWrapper.cpp

    r87293 r87424  
    257257v8::Local<v8::Object> V8DOMWrapper::instantiateV8Object(V8Proxy* proxy, WrapperTypeInfo* type, void* impl)
    258258{
     259#if ENABLE(WORKERS)
    259260    WorkerContext* workerContext = 0;
     261#endif
    260262    if (V8IsolatedContext::getEntered()) {
    261263        // This effectively disables the wrapper cache for isolated worlds.
Note: See TracChangeset for help on using the changeset viewer.