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

Unified Diff: content/renderer/render_view.cc

Issue 7647026: base: Add three helper functions to Values API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a typo Ceate -> Create Created 9 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 | « content/browser/gpu/gpu_data_manager.cc ('k') | content/renderer/v8_value_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view.cc
diff --git a/content/renderer/render_view.cc b/content/renderer/render_view.cc
index baa34d80cfbd8245d924a9db2650fd46e74167dd..e3037c02d7b773ee127ff197db39a8a692a7c80b 100644
--- a/content/renderer/render_view.cc
+++ b/content/renderer/render_view.cc
@@ -3484,7 +3484,7 @@ void RenderView::EvaluateScript(const string16& frame_xpath,
converter.set_allow_regexp(true);
list.Set(0, converter.FromV8Value(result, context));
} else {
- list.Set(0, Value::CreateNullValue());
+ list.Set(0, base::NullValue());
}
Send(new ViewHostMsg_ScriptEvalResponse(routing_id_, id, list));
}
« no previous file with comments | « content/browser/gpu/gpu_data_manager.cc ('k') | content/renderer/v8_value_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698