Changeset 112390 in webkit


Ignore:
Timestamp:
Mar 28, 2012 6:05:59 AM (12 years ago)
Author:
pfeldman@chromium.org
Message:

Web Inspector: [v8] inspection of CanvasPixelArray is slow.
https://bugs.webkit.org/show_bug.cgi?id=82455

Reviewed by Vsevolod Vlasov.

Added CanvasPixelArray to the list of classes that we consider
arrays.

  • bindings/v8/custom/V8InjectedScriptHostCustom.cpp:

(WebCore::V8InjectedScriptHost::typeCallback):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r112389 r112390  
     12012-03-28  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Web Inspector: [v8] inspection of CanvasPixelArray is slow.
     4        https://bugs.webkit.org/show_bug.cgi?id=82455
     5
     6        Reviewed by Vsevolod Vlasov.
     7
     8        Added CanvasPixelArray to the list of classes that we consider
     9        arrays.
     10
     11        * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
     12        (WebCore::V8InjectedScriptHost::typeCallback):
     13
    1142012-03-28  Leandro Gracia Gil  <leandrogracia@chromium.org>
    215
  • trunk/Source/WebCore/bindings/v8/custom/V8InjectedScriptHostCustom.cpp

    r111574 r112390  
    4141#include "V8Binding.h"
    4242#include "V8BindingState.h"
     43#include "V8CanvasPixelArray.h"
    4344#include "V8Database.h"
    4445#include "V8Float32Array.h"
     
    147148        return v8::String::New("array");
    148149    if (V8Float32Array::HasInstance(value) || V8Float64Array::HasInstance(value))
     150        return v8::String::New("array");
     151    if (V8CanvasPixelArray::HasInstance(value))
    149152        return v8::String::New("array");
    150153    return v8::Undefined();
Note: See TracChangeset for help on using the changeset viewer.