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

Unified Diff: ui/views/mus/native_widget_mus.cc

Issue 2162693002: Move bitmap uploader to ui service client lib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « ui/views/mus/native_widget_mus.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/native_widget_mus.cc
diff --git a/ui/views/mus/native_widget_mus.cc b/ui/views/mus/native_widget_mus.cc
index b8075e3481c6bd883924195ee7a8e595ef1804f0..a628fe0c33a791a702763391e048e9afa58d56ab 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -9,8 +9,8 @@
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/threading/thread_task_runner_handle.h"
-#include "components/bitmap_uploader/bitmap_uploader.h"
#include "services/ui/common/gpu_service.h"
+#include "services/ui/public/cpp/bitmap_uploader.h"
#include "services/ui/public/cpp/property_type_converters.h"
#include "services/ui/public/cpp/window.h"
#include "services/ui/public/cpp/window_observer.h"
@@ -545,11 +545,11 @@ NativeWidgetMus::NativeWidgetMus(internal::NativeWidgetDelegate* delegate,
window_tree_host_.reset(new WindowTreeHostMus(this, window_));
if (needs_bitmap_uploader) {
- bitmap_uploader_.reset(new bitmap_uploader::BitmapUploader(window));
+ bitmap_uploader_.reset(new ui::BitmapUploader(window));
bitmap_uploader_->Init(connector);
prop_ = base::MakeUnique<ui::ViewProp>(
window_tree_host_->GetAcceleratedWidget(),
- bitmap_uploader::kBitmapUploaderForAcceleratedWidget,
+ ui::kBitmapUploaderForAcceleratedWidget,
bitmap_uploader_.get());
}
« no previous file with comments | « ui/views/mus/native_widget_mus.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698