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

Unified Diff: Source/bindings/tests/results/V8TestNamedConstructor.cpp

Issue 14882009: Remove DOM prefix from several IDL interfaces (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 7 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/V8TestNamedConstructor.cpp
diff --git a/Source/bindings/tests/results/V8TestNamedConstructor.cpp b/Source/bindings/tests/results/V8TestNamedConstructor.cpp
index 6760d5202b35ee1599e0eed186b482786ae8c160..96349190a3eda39b15334cef20fc385638d9d69f 100644
--- a/Source/bindings/tests/results/V8TestNamedConstructor.cpp
+++ b/Source/bindings/tests/results/V8TestNamedConstructor.cpp
@@ -141,7 +141,7 @@ v8::Persistent<v8::FunctionTemplate> V8TestNamedConstructorConstructor::GetTempl
result->SetClassName(v8::String::NewSymbol("TestNamedConstructor"));
result->Inherit(V8TestNamedConstructor::GetTemplate(isolate, currentWorldType));
- cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(isolate, result);
+ cachedTemplate.Reset(isolate, result);
return cachedTemplate;
}
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp ('k') | Source/bindings/tests/results/V8TestObj.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698