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

Unified Diff: Source/web/tests/CustomEventTest.cpp

Issue 1027593003: bindings: Use Maybe version of v8::String::NewFromUtf8() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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: Source/web/tests/CustomEventTest.cpp
diff --git a/Source/web/tests/CustomEventTest.cpp b/Source/web/tests/CustomEventTest.cpp
index 8e97a7083dbb3fd36a28ab154a80a296e17b6580..2f2ede41a00623fe688ecd24c8dacdfeffa89a05 100644
--- a/Source/web/tests/CustomEventTest.cpp
+++ b/Source/web/tests/CustomEventTest.cpp
@@ -67,7 +67,7 @@ public:
ScriptState::Scope scope(scriptState);
v8::Handle<v8::Value> jsEvent = toV8(event, scriptState->context()->Global(), isolate());
- EXPECT_EQ(jsEvent->ToObject(isolate())->Get(v8::String::NewFromUtf8(isolate(), "detail")), v8::Boolean::New(isolate(), true));
+ EXPECT_EQ(jsEvent->ToObject(isolate())->Get(v8AtomicString(isolate(), "detail")), v8::Boolean::New(isolate(), true));
}
static PassRefPtr<TestListener> create(ScriptState* scriptState)
« Source/bindings/core/v8/V8Binding.h ('K') | « Source/web/WebDevToolsFrontendImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698