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

Unified Diff: chrome/browser/ui/tabs/tab_audio_indicator_unittest.cc

Issue 24175004: Remove dependency on ui::ScaleFactor from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename methods and vars to make image_scale more clear Created 7 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
Index: chrome/browser/ui/tabs/tab_audio_indicator_unittest.cc
diff --git a/chrome/browser/ui/tabs/tab_audio_indicator_unittest.cc b/chrome/browser/ui/tabs/tab_audio_indicator_unittest.cc
index 4d41539954428057bd36e46fc2c254167236f7d0..17f97fcd21aec88320efef6e9baeec8015eda4f3 100644
--- a/chrome/browser/ui/tabs/tab_audio_indicator_unittest.cc
+++ b/chrome/browser/ui/tabs/tab_audio_indicator_unittest.cc
@@ -51,7 +51,7 @@ TEST_F(TabAudioIndicatorTest, Paint) {
indicator.SetIsPlayingAudio(true);
gfx::Rect rect(0, 0, 16, 16);
- gfx::Canvas canvas(rect.size(), ui::SCALE_FACTOR_100P, true);
+ gfx::Canvas canvas(rect.size(), 1.0f, true);
// Nothing to test here. Just exercise the paint code to verify that nothing
// leaks or crashes.

Powered by Google App Engine
This is Rietveld 408576698