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

Unified Diff: Source/core/paint/NinePieceImagePainter.h

Issue 1180053009: Rewrite nine piece image painting code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comments Created 5 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 | « Source/core/paint/NinePieceImageGridTest.cpp ('k') | Source/core/paint/NinePieceImagePainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/NinePieceImagePainter.h
diff --git a/Source/core/paint/NinePieceImagePainter.h b/Source/core/paint/NinePieceImagePainter.h
index 5606794b843618a9c8bec6015fd24d4323274990..c11483e52d33859c2ae0ca811fb65407fa38acc9 100644
--- a/Source/core/paint/NinePieceImagePainter.h
+++ b/Source/core/paint/NinePieceImagePainter.h
@@ -5,7 +5,6 @@
#ifndef NinePieceImagePainter_h
#define NinePieceImagePainter_h
-#include "platform/LayoutUnit.h"
#include "platform/heap/Heap.h"
#include "third_party/skia/include/core/SkXfermode.h"
@@ -16,7 +15,6 @@ class GraphicsContext;
class LayoutBoxModelObject;
class LayoutRect;
class NinePieceImage;
-class BorderImageLength;
class NinePieceImagePainter {
STACK_ALLOCATED();
@@ -26,8 +24,6 @@ public:
bool paint(GraphicsContext*, const LayoutRect&, const ComputedStyle&, const NinePieceImage&, SkXfermode::Mode) const;
private:
- static LayoutUnit computeBorderImageSide(const BorderImageLength& borderSlice, LayoutUnit borderSide, LayoutUnit imageSide, LayoutUnit boxExtent);
-
LayoutBoxModelObject& m_layoutObject;
};
« no previous file with comments | « Source/core/paint/NinePieceImageGridTest.cpp ('k') | Source/core/paint/NinePieceImagePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698