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

Unified Diff: services/ui/public/cpp/lib/bitmap_uploader.cc

Issue 2165253002: bitmap_uploader: delete dead code (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 | « services/ui/public/cpp/bitmap_uploader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/lib/bitmap_uploader.cc
diff --git a/services/ui/public/cpp/lib/bitmap_uploader.cc b/services/ui/public/cpp/lib/bitmap_uploader.cc
index bb2483c93679875b53727da2014878c3acfd2d2f..0d5c1d7f21e2b012818f23b0783b863580065a66 100644
--- a/services/ui/public/cpp/lib/bitmap_uploader.cc
+++ b/services/ui/public/cpp/lib/bitmap_uploader.cc
@@ -33,8 +33,7 @@ BitmapUploader::BitmapUploader(Window* window)
width_(0),
height_(0),
format_(BGRA),
- next_resource_id_(1u),
- id_namespace_(0u) {}
+ next_resource_id_(1u) {}
BitmapUploader::~BitmapUploader() {
}
@@ -185,12 +184,6 @@ uint32_t BitmapUploader::BindTextureForSize(const gfx::Size& size) {
return texture;
}
-void BitmapUploader::SetIdNamespace(uint32_t id_namespace) {
- id_namespace_ = id_namespace;
- if (color_ != g_transparent_color || bitmap_.get())
- Upload();
-}
-
void BitmapUploader::OnResourcesReturned(
WindowSurface* surface,
mojo::Array<cc::ReturnedResource> resources) {
« no previous file with comments | « services/ui/public/cpp/bitmap_uploader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698