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

Unified Diff: chrome/renderer/extensions/app_window_custom_bindings.cc

Issue 107083006: More v8-API-related cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: chrome/renderer/extensions/app_window_custom_bindings.cc
diff --git a/chrome/renderer/extensions/app_window_custom_bindings.cc b/chrome/renderer/extensions/app_window_custom_bindings.cc
index 975b233c9427a9b50bc65572e2fc77fb9b1537fb..d8c6e0b9503d98f2b4900aeac38e6d3546cea8bc 100644
--- a/chrome/renderer/extensions/app_window_custom_bindings.cc
+++ b/chrome/renderer/extensions/app_window_custom_bindings.cc
@@ -114,7 +114,7 @@ void AppWindowCustomBindings::GetWindowControlsHtmlTemplate(
const v8::FunctionCallbackInfo<v8::Value>& args) {
CHECK_EQ(args.Length(), 0);
- v8::Handle<v8::Value> result = v8::String::Empty();
+ v8::Handle<v8::Value> result = v8::String::Empty(args.GetIsolate());
if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableAppWindowControls)) {
base::Value* value = base::Value::CreateStringValue(
« no previous file with comments | « chrome/renderer/extensions/app_bindings.cc ('k') | chrome/renderer/extensions/cast_streaming_native_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698