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

Unified Diff: third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: Rebasing the fixes... Created 3 years, 10 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/templates/callback_function.h.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl b/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
index 8a16e16dde0a9a36542222b9bc0ebf4c0dc5db22..7621981c48e51ff58c3a97e313eaf631b7efef71 100644
--- a/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
@@ -18,7 +18,7 @@ class {{forward_declaration}};
class {{exported}}{{cpp_class}} final : public GarbageCollectedFinalized<{{cpp_class}}>, public TraceWrapperBase {
public:
- static {{cpp_class}}* create(ScriptState* scriptState, v8::Local<v8::Value> callback);
+ static {{cpp_class}}* Create(ScriptState* scriptState, v8::Local<v8::Value> callback);
~{{cpp_class}}() = default;
@@ -28,7 +28,7 @@ class {{exported}}{{cpp_class}} final : public GarbageCollectedFinalized<{{cpp_c
bool call({{argument_declarations | join(', ')}});
v8::Local<v8::Function> v8Value(v8::Isolate* isolate) {
- return m_callback.newLocal(isolate);
+ return m_callback.NewLocal(isolate);
}
private:

Powered by Google App Engine
This is Rietveld 408576698