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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.cpp

Issue 2408083003: Drop [ExperimentalCallbackFunction] (Closed)
Patch Set: Update tests and expectations 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/LongCallbackFunction.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/LongExperimentalCallbackFunction.cpp b/third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.cpp
similarity index 85%
rename from third_party/WebKit/Source/bindings/tests/results/core/LongExperimentalCallbackFunction.cpp
rename to third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.cpp
index 1dab12e47337583760fd8fc935158df192129193..47e9f0d31fa57b80f909830b507c262ebd5a3807 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/LongExperimentalCallbackFunction.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.cpp
@@ -6,7 +6,7 @@
// clang-format off
-#include "LongExperimentalCallbackFunction.h"
+#include "LongCallbackFunction.h"
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/ScriptState.h"
@@ -17,18 +17,18 @@
namespace blink {
-LongExperimentalCallbackFunction::LongExperimentalCallbackFunction(v8::Isolate* isolate, v8::Local<v8::Function> callback)
+LongCallbackFunction::LongCallbackFunction(v8::Isolate* isolate, v8::Local<v8::Function> callback)
: m_callback(isolate, callback)
{
DCHECK(!m_callback.isEmpty());
m_callback.setPhantom();
}
-DEFINE_TRACE(LongExperimentalCallbackFunction)
+DEFINE_TRACE(LongCallbackFunction)
{
}
-bool LongExperimentalCallbackFunction::call(ScriptState* scriptState, ScriptWrappable* scriptWrappable, int num1, int num2, int& returnValue)
+bool LongCallbackFunction::call(ScriptState* scriptState, ScriptWrappable* scriptWrappable, int num1, int num2, int& returnValue)
{
if (!scriptState->contextIsValid())
return false;

Powered by Google App Engine
This is Rietveld 408576698