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

Unified Diff: components/pdf_viewer/pdf_viewer.cc

Issue 1390353007: Adds MUSViewsInit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix windows Created 5 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
« no previous file with comments | « components/mus/public/cpp/view_tree_connection.h ('k') | components/web_view/frame_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/pdf_viewer/pdf_viewer.cc
diff --git a/components/pdf_viewer/pdf_viewer.cc b/components/pdf_viewer/pdf_viewer.cc
index bc5f822fd678a975eeeed057ec75b28be1385e7a..01336a3d0878e64f7609b42b6e878c9383e5f2b1 100644
--- a/components/pdf_viewer/pdf_viewer.cc
+++ b/components/pdf_viewer/pdf_viewer.cc
@@ -414,7 +414,9 @@ class PDFView : public mojo::ApplicationDelegate,
void Create(
mojo::ApplicationConnection* connection,
mojo::InterfaceRequest<mojo::ViewTreeClient> request) override {
- mus::ViewTreeConnection::Create(this, request.Pass());
+ mus::ViewTreeConnection::Create(
+ this, request.Pass(),
+ mus::ViewTreeConnection::CreateType::DONT_WAIT_FOR_EMBED);
}
void DrawBitmap(EmbedderData* embedder_data) {
« no previous file with comments | « components/mus/public/cpp/view_tree_connection.h ('k') | components/web_view/frame_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698