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

Unified Diff: Source/core/rendering/style/ShadowList.h

Issue 23241010: Support subpixel values for text-shadow and box-shadow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed review comments Created 6 years, 11 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/rendering/style/ShadowData.cpp ('k') | Source/core/rendering/style/ShadowList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/ShadowList.h
diff --git a/Source/core/rendering/style/ShadowList.h b/Source/core/rendering/style/ShadowList.h
index 12acedf48010a1a82cfbec7d16f2165d568cc15e..6a1a4c1c9ad37d813fbb026dd6f976b874c3667c 100644
--- a/Source/core/rendering/style/ShadowList.h
+++ b/Source/core/rendering/style/ShadowList.h
@@ -32,6 +32,7 @@
#define ShadowList_h
#include "core/rendering/style/ShadowData.h"
+#include "platform/geometry/LayoutRect.h"
#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
@@ -57,8 +58,8 @@ public:
static PassRefPtr<ShadowList> blend(const ShadowList* from, const ShadowList* to, double progress);
- void adjustRectForShadow(LayoutRect&, int additionalOutlineSize = 0) const;
- void adjustRectForShadow(FloatRect&, int additionalOutlineSize = 0) const;
+ void adjustRectForShadow(LayoutRect&, float additionalOutlineSize = 0) const;
+ void adjustRectForShadow(FloatRect&, float additionalOutlineSize = 0) const;
private:
ShadowList(ShadowDataVector& shadows)
« no previous file with comments | « Source/core/rendering/style/ShadowData.cpp ('k') | Source/core/rendering/style/ShadowList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698