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

Unified Diff: cc/blink/web_image_layer_impl.h

Issue 583743002: [chromium] Pass SkBitmap by reference in WebImageLayer::setBitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed inline virtual function! 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 | « no previous file | cc/blink/web_image_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_image_layer_impl.h
diff --git a/cc/blink/web_image_layer_impl.h b/cc/blink/web_image_layer_impl.h
index 85540afb03a745a82141c0dcd787f62cb808db92..cf41576564a598b87ac496c3672c214dc1b7c61e 100644
--- a/cc/blink/web_image_layer_impl.h
+++ b/cc/blink/web_image_layer_impl.h
@@ -21,7 +21,9 @@ class WebImageLayerImpl : public blink::WebImageLayer {
// blink::WebImageLayer implementation.
virtual blink::WebLayer* layer();
+ // TODO(vivekg): Remove setBitmap() once https://crrev.com/583733002 lands.
virtual void setBitmap(SkBitmap);
+ virtual void setImageBitmap(const SkBitmap& bitmap);
private:
scoped_ptr<WebLayerImpl> layer_;
« no previous file with comments | « no previous file | cc/blink/web_image_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698