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

Unified Diff: Source/core/css/CSSToStyleMap.h

Issue 64293008: Wrap CSS length conversion arguments in an object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: don't make it noncopyable ; clang doesn't do the RVO stuffs? Created 7 years, 1 month 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/css/CSSToLengthConversionData.cpp ('k') | Source/core/css/CSSToStyleMap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSToStyleMap.h
diff --git a/Source/core/css/CSSToStyleMap.h b/Source/core/css/CSSToStyleMap.h
index e91646286ca7bda4b0f60d4198464e23a7e3eb83..b994b6f0a78d596d5fc2a32156890d8901b0d285 100644
--- a/Source/core/css/CSSToStyleMap.h
+++ b/Source/core/css/CSSToStyleMap.h
@@ -29,8 +29,9 @@
namespace WebCore {
class FillLayer;
-class CSSValue;
class CSSAnimationData;
+class CSSToLengthConversionData;
+class CSSValue;
class RenderStyle;
class StyleImage;
class StyleResolverState;
@@ -75,8 +76,7 @@ public:
void mapNinePieceImageRepeat(CSSValue*, NinePieceImage&) const;
private:
- const RenderStyle* style() const;
- const RenderStyle* rootElementStyle() const;
+ const CSSToLengthConversionData& cssToLengthConversionData() const;
bool useSVGZoomRules() const;
PassRefPtr<StyleImage> styleImage(CSSPropertyID, CSSValue*);
« no previous file with comments | « Source/core/css/CSSToLengthConversionData.cpp ('k') | Source/core/css/CSSToStyleMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698