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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/LongExperimentalCallbackFunction.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/tests/results/core/LongExperimentalCallbackFunction.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8LongExperimentalCallbackFunction.cpp b/third_party/WebKit/Source/bindings/tests/results/core/LongExperimentalCallbackFunction.cpp
similarity index 82%
rename from third_party/WebKit/Source/bindings/tests/results/core/V8LongExperimentalCallbackFunction.cpp
rename to third_party/WebKit/Source/bindings/tests/results/core/LongExperimentalCallbackFunction.cpp
index 27d7a0aa23e719eedd5172be2e0016195d859abc..7d240afd1925419748e267d60d7f2fe8f2193969 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8LongExperimentalCallbackFunction.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/LongExperimentalCallbackFunction.cpp
@@ -6,7 +6,7 @@
// clang-format off
-#include "V8LongExperimentalCallbackFunction.h"
+#include "LongExperimentalCallbackFunction.h"
#include "bindings/core/v8/ScriptState.h"
#include "bindings/core/v8/ToV8.h"
@@ -16,18 +16,18 @@
namespace blink {
-V8LongExperimentalCallbackFunction::V8LongExperimentalCallbackFunction(v8::Isolate* isolate, v8::Local<v8::Function> callback)
+LongExperimentalCallbackFunction::LongExperimentalCallbackFunction(v8::Isolate* isolate, v8::Local<v8::Function> callback)
: m_callback(isolate, callback)
{
DCHECK(!m_callback.isEmpty());
m_callback.setPhantom();
}
-DEFINE_TRACE(V8LongExperimentalCallbackFunction)
+DEFINE_TRACE(LongExperimentalCallbackFunction)
{
}
-bool V8LongExperimentalCallbackFunction::call(ScriptState* scriptState, ScriptWrappable* scriptWrappable, ExceptionState& exceptionState, int num1, int num2, int& returnValue)
+bool LongExperimentalCallbackFunction::call(ScriptState* scriptState, ScriptWrappable* scriptWrappable, ExceptionState& exceptionState, int num1, int num2, int& returnValue)
{
if (!scriptState->contextIsValid())
return false;

Powered by Google App Engine
This is Rietveld 408576698