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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp

Issue 2383613003: Remove 'V8' prefix from generated callback function classes (Closed)
Patch Set: rebase Created 4 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: third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp
index ee4d9edffc5d7138c3d5beeb63a71a5c815ee844..dcd40e8782fd2c09179610332f124e363629d4bc 100644
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp
@@ -5,11 +5,11 @@
#include "bindings/core/v8/V8PerformanceObserver.h"
#include "bindings/core/v8/ExceptionMessages.h"
+#include "bindings/core/v8/PerformanceObserverCallback.h"
#include "bindings/core/v8/V8Binding.h"
#include "bindings/core/v8/V8DOMWrapper.h"
#include "bindings/core/v8/V8GCController.h"
#include "bindings/core/v8/V8Performance.h"
-#include "bindings/core/v8/V8PerformanceObserverCallback.h"
#include "core/timing/DOMWindowPerformance.h"
#include "core/timing/PerformanceObserver.h"
@@ -48,9 +48,8 @@ void V8PerformanceObserver::constructorCustom(
"The callback provided as parameter 1 is not a function."));
return;
}
- V8PerformanceObserverCallback* callback =
- V8PerformanceObserverCallback::create(
- info.GetIsolate(), v8::Local<v8::Function>::Cast(info[0]));
+ PerformanceObserverCallback* callback = PerformanceObserverCallback::create(
+ info.GetIsolate(), v8::Local<v8::Function>::Cast(info[0]));
PerformanceObserver* observer = PerformanceObserver::create(
ScriptState::forReceiverObject(info), performance, callback);
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/BUILD.gn ('k') | third_party/WebKit/Source/bindings/scripts/code_generator_v8.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698