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

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

Issue 170283003: Attempt to fix issue 344300 by guarding against rootStyle being null. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more information test body Created 6 years, 10 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/css/CSSPrimitiveValue.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSToLengthConversionData.h
diff --git a/Source/core/css/CSSToLengthConversionData.h b/Source/core/css/CSSToLengthConversionData.h
index f110b23d5da744179957a060f7d69f179df17811..6b81ce993b90d3a58beb9a423fd9005b184c4e37 100644
--- a/Source/core/css/CSSToLengthConversionData.h
+++ b/Source/core/css/CSSToLengthConversionData.h
@@ -46,7 +46,7 @@ public:
CSSToLengthConversionData(const RenderStyle* currStyle, const RenderStyle* rootStyle, float viewportWidth, float viewportHeight, float zoom, bool computingFontSize = false);
const RenderStyle& style() const { return *m_style; }
- const RenderStyle& rootStyle() const { return *m_rootStyle; }
+ const RenderStyle* rootStyle() const { return m_rootStyle; }
float zoom() const;
bool computingFontSize() const { return m_computingFontSize; }
« no previous file with comments | « Source/core/css/CSSPrimitiveValue.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698