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

Unified Diff: Source/core/platform/graphics/GraphicsLayer.h

Issue 14974003: Remove codes related to scaling in GraphicsLayer tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch to land: Remove an unused memeber in PageOverlay.cpp to compile in Mac. Created 7 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 | « Source/core/page/Frame.cpp ('k') | Source/core/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/graphics/GraphicsLayer.h
diff --git a/Source/core/platform/graphics/GraphicsLayer.h b/Source/core/platform/graphics/GraphicsLayer.h
index 114a2693a757292f794103b11ad90a8767064b5e..621578d199caed83e222669ad9293d63a3625322 100644
--- a/Source/core/platform/graphics/GraphicsLayer.h
+++ b/Source/core/platform/graphics/GraphicsLayer.h
@@ -406,15 +406,6 @@ public:
void distributeOpacity(float);
float accumulatedOpacity() const;
- void setMaintainsPixelAlignment(bool maintainsAlignment) { m_maintainsPixelAlignment = maintainsAlignment; }
- bool maintainsPixelAlignment() const { return m_maintainsPixelAlignment; }
-
- float pageScaleFactor() const { return m_client ? m_client->pageScaleFactor() : 1; }
- float deviceScaleFactor() const { return m_client ? m_client->deviceScaleFactor() : 1; }
-
- void deviceOrPageScaleFactorChanged() { }
- void noteDeviceOrPageScaleFactorChangedIncludingDescendants();
-
// If the exposed rect of this layer changes, returns true if this or descendant layers need a flush,
// for example to allocate new tiles.
bool visibleRectChangeRequiresFlush(const FloatRect& /* clipRect */) const { return false; }
@@ -535,7 +526,6 @@ protected:
bool m_masksToBounds : 1;
bool m_drawsContent : 1;
bool m_contentsVisible : 1;
- bool m_maintainsPixelAlignment : 1;
bool m_showDebugBorder : 1;
bool m_showRepaintCounter : 1;
« no previous file with comments | « Source/core/page/Frame.cpp ('k') | Source/core/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698