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

Unified Diff: Source/bindings/core/v8/SerializedScriptValueTest.cpp

Issue 537403002: bindings: Renames from/toInternalPointer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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/bindings/core/v8/SerializedScriptValue.cpp ('k') | Source/bindings/core/v8/V8Binding.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/SerializedScriptValueTest.cpp
diff --git a/Source/bindings/core/v8/SerializedScriptValueTest.cpp b/Source/bindings/core/v8/SerializedScriptValueTest.cpp
index 47d9fa6548c799fbde953a9e6ae55b40941ffca6..788b1f0c017ef7e30dac9ec52468d95edaeac8d1 100644
--- a/Source/bindings/core/v8/SerializedScriptValueTest.cpp
+++ b/Source/bindings/core/v8/SerializedScriptValueTest.cpp
@@ -44,7 +44,7 @@ TEST_F(SerializedScriptValueTest, UserSelectedFile)
v8::Handle<v8::Value> v8File = serializedScriptValue->deserialize(isolate());
ASSERT_TRUE(V8File::hasInstance(v8File, isolate()));
- File* file = V8File::toNative(v8::Handle<v8::Object>::Cast(v8File));
+ File* file = V8File::toImpl(v8::Handle<v8::Object>::Cast(v8File));
EXPECT_TRUE(file->hasBackingFile());
EXPECT_EQ(File::IsUserVisible, file->userVisibility());
EXPECT_EQ(filePath, file->path());
@@ -64,7 +64,7 @@ TEST_F(SerializedScriptValueTest, FileConstructorFile)
v8::Handle<v8::Value> v8File = serializedScriptValue->deserialize(isolate());
ASSERT_TRUE(V8File::hasInstance(v8File, isolate()));
- File* file = V8File::toNative(v8::Handle<v8::Object>::Cast(v8File));
+ File* file = V8File::toImpl(v8::Handle<v8::Object>::Cast(v8File));
EXPECT_FALSE(file->hasBackingFile());
EXPECT_EQ(File::IsNotUserVisible, file->userVisibility());
EXPECT_EQ("hello.txt", file->name());
« no previous file with comments | « Source/bindings/core/v8/SerializedScriptValue.cpp ('k') | Source/bindings/core/v8/V8Binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698