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

Unified Diff: blimp/engine/app/blimp_content_main_delegate.cc

Issue 1859753002: Blimp: create Mojo component for renderer/browser communication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yzshen and nyquist feedback Created 4 years, 8 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 | « blimp/engine/app/blimp_content_browser_client.cc ('k') | blimp/engine/app/blimp_content_renderer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/blimp_content_main_delegate.cc
diff --git a/blimp/engine/app/blimp_content_main_delegate.cc b/blimp/engine/app/blimp_content_main_delegate.cc
index 6fe0b41493ac7d7667cc37bc26d3752570e06813..288c7f3a7b4af0e39269dabf45de09c83353541b 100644
--- a/blimp/engine/app/blimp_content_main_delegate.cc
+++ b/blimp/engine/app/blimp_content_main_delegate.cc
@@ -8,9 +8,9 @@
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/path_service.h"
-#include "blimp/common/compositor/blimp_image_serialization_processor.h"
#include "blimp/engine/app/blimp_content_browser_client.h"
#include "blimp/engine/app/blimp_content_renderer_client.h"
+#include "mojo/public/cpp/bindings/interface_request.h"
#include "ui/base/resource/resource_bundle.h"
namespace blimp {
@@ -64,11 +64,7 @@ BlimpContentMainDelegate::CreateContentBrowserClient() {
content::ContentRendererClient*
BlimpContentMainDelegate::CreateContentRendererClient() {
DCHECK(!renderer_client_);
- scoped_ptr<BlimpImageSerializationProcessor> image_serialization_processor =
- make_scoped_ptr(new BlimpImageSerializationProcessor(
- BlimpImageSerializationProcessor::Mode::SERIALIZATION));
- renderer_client_.reset(
- new BlimpContentRendererClient(std::move(image_serialization_processor)));
+ renderer_client_.reset(new BlimpContentRendererClient);
return renderer_client_.get();
}
« no previous file with comments | « blimp/engine/app/blimp_content_browser_client.cc ('k') | blimp/engine/app/blimp_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698