Changeset 117546 in webkit


Ignore:
Timestamp:
May 17, 2012 10:50:42 PM (12 years ago)
Author:
haraken@chromium.org
Message:

[V8][Refactoring] Remove V8Proxy::deletionNotHandledByInterceptor()
https://bugs.webkit.org/show_bug.cgi?id=86803

Reviewed by Dimitri Glazkov.

V8Proxy::deletionNotHandledByInterceptor() is used by V8StorageCustom.cpp
only, just in order to return v8::Handle<v8::Boolean>(). In such cases,
other custom bindings are hard-coding 'return v8::Handle<v8::Boolean>()'.
Thus we can hard-code 'return v8::Handle<v8::Boolean>()' in V8StorageCustom.cpp
too, and remove V8Proxy::deletionNotHandledByInterceptor().

No tests. No change in behavior.

  • bindings/v8/V8Proxy.h:
  • bindings/v8/custom/V8StorageCustom.cpp:

(WebCore::storageDeleter):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117545 r117546  
     12012-05-17  Kentaro Hara  <haraken@chromium.org>
     2
     3        [V8][Refactoring] Remove V8Proxy::deletionNotHandledByInterceptor()
     4        https://bugs.webkit.org/show_bug.cgi?id=86803
     5
     6        Reviewed by Dimitri Glazkov.
     7
     8        V8Proxy::deletionNotHandledByInterceptor() is used by V8StorageCustom.cpp
     9        only, just in order to return v8::Handle<v8::Boolean>(). In such cases,
     10        other custom bindings are hard-coding 'return v8::Handle<v8::Boolean>()'.
     11        Thus we can hard-code 'return v8::Handle<v8::Boolean>()' in V8StorageCustom.cpp
     12        too, and remove V8Proxy::deletionNotHandledByInterceptor().
     13
     14        No tests. No change in behavior.
     15
     16        * bindings/v8/V8Proxy.h:
     17        * bindings/v8/custom/V8StorageCustom.cpp:
     18        (WebCore::storageDeleter):
     19
    1202012-05-17  Ilya Tikhonovsky  <loislo@chromium.org>
    221
  • trunk/Source/WebCore/bindings/v8/V8Proxy.h

    r117536 r117546  
    321321    }
    322322
    323     inline static v8::Local<v8::Boolean> deletionNotHandledByInterceptor()
    324     {
    325         return v8::Local<v8::Boolean>();
    326     }
    327 
    328323    inline v8::Handle<v8::Primitive> throwError(const char* message, V8Proxy::ErrorType type, v8::Isolate* isolate = 0)
    329324    {
  • trunk/Source/WebCore/bindings/v8/custom/V8StorageCustom.cpp

    r114814 r117546  
    137137    }
    138138
    139     return deletionNotHandledByInterceptor();
     139    return v8::Handle<v8::Boolean>();
    140140}
    141141
Note: See TracChangeset for help on using the changeset viewer.