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) { |