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

Unified Diff: chrome/browser/chromeos/status/network_menu_button.cc

Issue 2811032: Revert 50784 - Canvas refactoring part 3.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 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 | chrome/browser/download/download_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/status/network_menu_button.cc
===================================================================
--- chrome/browser/chromeos/status/network_menu_button.cc (revision 50789)
+++ chrome/browser/chromeos/status/network_menu_button.cc (working copy)
@@ -12,7 +12,7 @@
#include "chrome/browser/chromeos/cros/cros_library.h"
#include "chrome/browser/chromeos/options/network_config_view.h"
#include "chrome/browser/chromeos/status/status_area_host.h"
-#include "gfx/canvas_skia.h"
+#include "gfx/canvas.h"
#include "gfx/skbitmap_operations.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
@@ -387,7 +387,7 @@
static const int kBadgeX = 14;
static const int kBadgeY = 14;
- gfx::CanvasSkia canvas(kIconWidth, kIconHeight, false);
+ gfx::Canvas canvas(kIconWidth, kIconHeight, false);
canvas.DrawBitmapInt(icon, kIconX, kIconY);
if (!badge.empty())
canvas.DrawBitmapInt(badge, kBadgeX, kBadgeY);
« no previous file with comments | « no previous file | chrome/browser/download/download_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698