Changeset 56527 in webkit


Ignore:
Timestamp:
Mar 25, 2010 3:40:08 AM (14 years ago)
Author:
steveblock@google.com
Message:

2010-03-24 Steve Block <steveblock@google.com>

Reviewed by David Levin.

Adds a missing ENABLE(WORKERS) guards to the V8 bindings.
https://bugs.webkit.org/show_bug.cgi?id=36550

Build fix only, no new tests.

  • bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::instantiateV8Object):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r56526 r56527  
     12010-03-24  Steve Block  <steveblock@google.com>
     2
     3        Reviewed by David Levin.
     4
     5        Adds a missing ENABLE(WORKERS) guards to the V8 bindings.
     6        https://bugs.webkit.org/show_bug.cgi?id=36550
     7
     8        Build fix only, no new tests.
     9
     10        * bindings/v8/V8DOMWrapper.cpp:
     11        (WebCore::V8DOMWrapper::instantiateV8Object):
     12
    1132010-03-25  Leandro Pereira  <leandro@profusion.mobi>
    214
  • trunk/WebCore/bindings/v8/V8DOMWrapper.cpp

    r56452 r56527  
    258258    else {
    259259        v8::Local<v8::Function> function;
     260#if ENABLE(WORKERS)
    260261        if (workerContext)
    261262            function = getConstructor(type, workerContext);
    262263        else
     264#endif
    263265            function = type->getTemplate()->GetFunction();
    264266        instance = SafeAllocation::newInstance(function);
Note: See TracChangeset for help on using the changeset viewer.