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

Unified Diff: chrome/browser/debugger/debugger_view.cc

Issue 6274: Greasemonkey support. (Closed)
Patch Set: Created 12 years, 2 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: chrome/browser/debugger/debugger_view.cc
diff --git a/chrome/browser/debugger/debugger_view.cc b/chrome/browser/debugger/debugger_view.cc
index 494a23f5e1bb4964518920241e22d06b5c894a6e..29d07e6244c6c384982ea3ab3dd26d1881bee5b5 100644
--- a/chrome/browser/debugger/debugger_view.cc
+++ b/chrome/browser/debugger/debugger_view.cc
@@ -136,8 +136,7 @@ void DebuggerView::OpenURLFromTab(TabContents* source,
void DebuggerView::ExecuteJavascript(const std::string& js) {
const std::string url = StringPrintf("javascript:void(%s)", js.c_str());
- web_contents_->render_view_host()->ExecuteJavascriptInWebFrame(L"",
- UTF8ToWide(url));
+ web_contents_->render_view_host()->ExecuteJavascriptInWebFrame(L"", UTF8ToWide(url), L"");
}
void DebuggerView::LoadingStateChanged(TabContents* source) {

Powered by Google App Engine
This is Rietveld 408576698