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

Unified Diff: cc/blink/web_image_layer_impl.cc

Issue 593083002: Cleanup WebImageLayerImpl by removing setBitmap(SkBitmap) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « cc/blink/web_image_layer_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_image_layer_impl.cc
diff --git a/cc/blink/web_image_layer_impl.cc b/cc/blink/web_image_layer_impl.cc
index 818608d5c916984cacebb880a5c8c44d4308050d..ee80ca6a044a76ed242d2eb84985381e206e68d1 100644
--- a/cc/blink/web_image_layer_impl.cc
+++ b/cc/blink/web_image_layer_impl.cc
@@ -25,10 +25,6 @@ blink::WebLayer* WebImageLayerImpl::layer() {
return layer_.get();
}
-void WebImageLayerImpl::setBitmap(SkBitmap bitmap) {
- setImageBitmap(bitmap);
-}
-
void WebImageLayerImpl::setImageBitmap(const SkBitmap& bitmap) {
if (WebLayerImpl::UsingPictureLayer()) {
static_cast<cc::PictureImageLayer*>(layer_->layer())->SetBitmap(bitmap);
« no previous file with comments | « cc/blink/web_image_layer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698