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

Unified Diff: Source/bindings/core/v8/V8Binding.h

Issue 1032053003: bindings: Add assersion in v8AtomicString (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8Binding.h
diff --git a/Source/bindings/core/v8/V8Binding.h b/Source/bindings/core/v8/V8Binding.h
index ec48ec713e6847efc67ab827381cd863024ab1ca..490771d9e8ba5789a2e45b3a3e34bdb80877cc49 100644
--- a/Source/bindings/core/v8/V8Binding.h
+++ b/Source/bindings/core/v8/V8Binding.h
@@ -353,6 +353,7 @@ inline v8::Handle<v8::String> v8AtomicString(v8::Isolate* isolate, const char* s
v8::Local<v8::String> value;
if (LIKELY(v8::String::NewFromUtf8(isolate, str, v8::NewStringType::kInternalized, length).ToLocal(&value)))
return value;
+ RELEASE_ASSERT_NOT_REACHED();
haraken 2015/03/25 08:55:07 Would you add a comment on this?
bashi 2015/03/25 09:14:41 Done.
return v8::String::Empty(isolate);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698