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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationTestHelper.h

Issue 2290523005: Simplify AnimationTestHelper.h (Closed)
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/AnimationTestHelper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/AnimationTestHelper.h
diff --git a/third_party/WebKit/Source/core/animation/AnimationTestHelper.h b/third_party/WebKit/Source/core/animation/AnimationTestHelper.h
index 71213f49016f21e9357f749ef301b34d2c6c3ac5..4ce310fa9fdbc94a2f52accc1b9010632ac8157c 100644
--- a/third_party/WebKit/Source/core/animation/AnimationTestHelper.h
+++ b/third_party/WebKit/Source/core/animation/AnimationTestHelper.h
@@ -5,18 +5,14 @@
#ifndef AnimationTestHelper_h
#define AnimationTestHelper_h
+#include "wtf/text/StringView.h"
#include "wtf/text/WTFString.h"
#include <v8.h>
namespace blink {
-v8::Local<v8::Value> stringToV8Value(String);
-
-v8::Local<v8::Value> doubleToV8Value(double);
-
-void setV8ObjectPropertyAsString(v8::Isolate*, v8::Local<v8::Object>, String, String);
-
-void setV8ObjectPropertyAsNumber(v8::Isolate*, v8::Local<v8::Object>, String, double);
+void setV8ObjectPropertyAsString(v8::Isolate*, v8::Local<v8::Object>, const StringView& name, const StringView& value);
+void setV8ObjectPropertyAsNumber(v8::Isolate*, v8::Local<v8::Object>, const StringView& name, double value);
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/AnimationTestHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698