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

Unified Diff: content/browser/renderer_host/backing_store_aura.h

Issue 12389084: Fix Aura backing store to work with non-integer scale factors. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 10 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: content/browser/renderer_host/backing_store_aura.h
diff --git a/content/browser/renderer_host/backing_store_aura.h b/content/browser/renderer_host/backing_store_aura.h
index 97ab8e9c88832dd7675b744d4ba336558bcc546d..0b8e0729d0e937edcd1a561f432e03c029fd8724 100644
--- a/content/browser/renderer_host/backing_store_aura.h
+++ b/content/browser/renderer_host/backing_store_aura.h
@@ -56,7 +56,7 @@ class BackingStoreAura : public BackingStore {
SkBitmap bitmap_;
scoped_ptr<SkCanvas> canvas_;
- int device_scale_factor_;
+ float device_scale_factor_;
DISALLOW_COPY_AND_ASSIGN(BackingStoreAura);
};

Powered by Google App Engine
This is Rietveld 408576698