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

Unified Diff: sky/engine/platform/graphics/GraphicsLayer.h

Issue 685983002: Remove Nine Patch layers. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | sky/engine/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/graphics/GraphicsLayer.h
diff --git a/sky/engine/platform/graphics/GraphicsLayer.h b/sky/engine/platform/graphics/GraphicsLayer.h
index 48d512d247cf84ce3ff747de23ff927f8092b1c0..6c2388b257f88194e3e1ca000711220526644e4a 100644
--- a/sky/engine/platform/graphics/GraphicsLayer.h
+++ b/sky/engine/platform/graphics/GraphicsLayer.h
@@ -43,7 +43,6 @@
#include "public/platform/WebImageLayer.h"
#include "public/platform/WebLayerClient.h"
#include "public/platform/WebLayerScrollClient.h"
-#include "public/platform/WebNinePatchLayer.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/Vector.h"
@@ -191,7 +190,6 @@ public:
// Layer contents
void setContentsToImage(Image*);
- void setContentsToNinePatch(Image*, const IntRect& aperture);
void setContentsToPlatformLayer(WebLayer* layer) { setContentsTo(layer); }
bool hasContentsLayer() const { return m_contentsLayer; }
@@ -311,7 +309,6 @@ private:
OwnPtr<WebContentLayer> m_layer;
OwnPtr<WebImageLayer> m_imageLayer;
- OwnPtr<WebNinePatchLayer> m_ninePatchLayer;
WebLayer* m_contentsLayer;
// We don't have ownership of m_contentsLayer, but we do want to know if a given layer is the
// same as our current layer in setContentsTo(). Since m_contentsLayer may be deleted at this point,
« no previous file with comments | « no previous file | sky/engine/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698