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

Unified Diff: ui/gfx/canvas.h

Issue 2015083004: Use initialized canvas to create network icons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 7 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/chromeos/network/network_icon.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 328292aee0c35ef7ed41a9cc2134deb5b5b496d5..2894193d5393c341201754a1aa7ca210d579ed9a 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -82,10 +82,6 @@ class GFX_EXPORT Canvas {
// being returned.
Canvas(const Size& size, float image_scale, bool is_opaque);
- // Constructs a canvas with the size and the image_scale of the provided
- // |image_rep|, and draws the |image_rep| into it.
- Canvas(const ImageSkiaRep& image_rep, bool is_opaque);
-
// Creates a Canvas backed by an |sk_canvas| with |image_scale_|.
// |sk_canvas| is assumed to be already scaled based on |image_scale|
// so no additional scaling is applied.
« no previous file with comments | « ui/chromeos/network/network_icon.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698