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

Unified Diff: Source/bindings/tests/results/core/V8TestDictionary.h

Issue 656073002: IDL: Use ALLOW_ONLY_INLINE_ALLOCATION() in dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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: Source/bindings/tests/results/core/V8TestDictionary.h
diff --git a/Source/bindings/tests/results/core/V8TestDictionary.h b/Source/bindings/tests/results/core/V8TestDictionary.h
index 2bab5656bedbb63f598ed4ed67bea703c792571e..f176e7877731acb28bb0def26dc0dd37642d83dc 100644
--- a/Source/bindings/tests/results/core/V8TestDictionary.h
+++ b/Source/bindings/tests/results/core/V8TestDictionary.h
@@ -17,13 +17,13 @@ class ExceptionState;
class V8TestDictionary {
public:
- static TestDictionary* toImpl(v8::Isolate*, v8::Handle<v8::Value>, ExceptionState&);
+ static void toImpl(v8::Isolate*, v8::Handle<v8::Value>, TestDictionary&, ExceptionState&);
};
-v8::Handle<v8::Value> toV8(TestDictionary*, v8::Handle<v8::Object>, v8::Isolate*);
+v8::Handle<v8::Value> toV8(TestDictionary&, v8::Handle<v8::Object>, v8::Isolate*);
template<class CallbackInfo>
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionary* impl)
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionary& impl)
{
v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()));
}
« no previous file with comments | « Source/bindings/tests/results/core/TestDictionary.h ('k') | Source/bindings/tests/results/core/V8TestDictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698