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

Unified Diff: Source/core/animation/AnimationTestHelper.cpp

Issue 1111273007: Replace Handle with Local in core/animation/* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 | « Source/core/animation/AnimationTestHelper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationTestHelper.cpp
diff --git a/Source/core/animation/AnimationTestHelper.cpp b/Source/core/animation/AnimationTestHelper.cpp
index 7cef07e41c575435510a728af65fa5bc7c4d407a..fcb0be9ff0642e00c7601bf188b092d95db31c71 100644
--- a/Source/core/animation/AnimationTestHelper.cpp
+++ b/Source/core/animation/AnimationTestHelper.cpp
@@ -9,22 +9,22 @@
namespace blink {
-v8::Handle<v8::Value> stringToV8Value(String string)
+v8::Local<v8::Value> stringToV8Value(String string)
{
- return v8::Handle<v8::Value>::Cast(v8String(v8::Isolate::GetCurrent(), string));
+ return v8::Local<v8::Value>::Cast(v8String(v8::Isolate::GetCurrent(), string));
}
-v8::Handle<v8::Value> doubleToV8Value(double number)
+v8::Local<v8::Value> doubleToV8Value(double number)
{
- return v8::Handle<v8::Value>::Cast(v8::Number::New(v8::Isolate::GetCurrent(), number));
+ return v8::Local<v8::Value>::Cast(v8::Number::New(v8::Isolate::GetCurrent(), number));
}
-void setV8ObjectPropertyAsString(v8::Handle<v8::Object> object, String name, String value)
+void setV8ObjectPropertyAsString(v8::Local<v8::Object> object, String name, String value)
{
object->Set(stringToV8Value(name), stringToV8Value(value));
}
-void setV8ObjectPropertyAsNumber(v8::Handle<v8::Object> object, String name, double value)
+void setV8ObjectPropertyAsNumber(v8::Local<v8::Object> object, String name, double value)
{
object->Set(stringToV8Value(name), doubleToV8Value(value));
}
« no previous file with comments | « Source/core/animation/AnimationTestHelper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698