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

Unified Diff: chrome/browser/printing/print_dialog_cloud_win.cc

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Eliminate unnecessary PostTask Created 3 years, 10 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/printing/print_dialog_cloud_win.cc
diff --git a/chrome/browser/printing/print_dialog_cloud_win.cc b/chrome/browser/printing/print_dialog_cloud_win.cc
index 71f776b2c2f5c188a4d3ea96e304b815a59b8696..d868b7765973050cf336ef062c3f220f38fec04d 100644
--- a/chrome/browser/printing/print_dialog_cloud_win.cc
+++ b/chrome/browser/printing/print_dialog_cloud_win.cc
@@ -74,8 +74,7 @@ class PrintDataSetter : public content::WebContentsObserver {
if (cloud_devices::IsCloudPrintURL(url)) {
base::string16 origin = base::UTF8ToUTF16(url.GetOrigin().spec());
content::MessagePortProvider::PostMessageToFrame(
- web_contents(), origin, origin, message_data_,
- std::vector<int>());
+ web_contents(), origin, origin, message_data_);
}
}

Powered by Google App Engine
This is Rietveld 408576698