Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8Uint8ClampedArray.h

Issue 2045453002: Refactor WrapperTypeInfo.traceWrappers to WrapperTypeInfo.getHeader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use nicer name Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/tests/results/core/V8Uint8ClampedArray.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8Uint8ClampedArray.h b/third_party/WebKit/Source/bindings/tests/results/core/V8Uint8ClampedArray.h
index 0ae3dd1b091fc09cddefff8dcd0650eabf6aa004..0c74ea50d72a73f0a747e9e2c60a30545b4379ab 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8Uint8ClampedArray.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8Uint8ClampedArray.h
@@ -26,9 +26,9 @@ public:
CORE_EXPORT static TestUint8ClampedArray* toImpl(v8::Local<v8::Object> object);
CORE_EXPORT static TestUint8ClampedArray* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
- static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable)
+ static HeapObjectHeader* getHeapObjectHeader(ScriptWrappable* scriptWrappable)
{
- visitor->traceWrappers(scriptWrappable->toImpl<TestUint8ClampedArray>());
+ return HeapObjectHeader::fromPayload(scriptWrappable->toImpl<TestUint8ClampedArray>());
}
template<typename VisitorDispatcher>
static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)

Powered by Google App Engine
This is Rietveld 408576698