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

Unified Diff: Source/core/svg/SVGFitToViewBox.h

Issue 181713003: Have Document::accessSVGExtensions() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/svg/SVGFEImageElement.cpp ('k') | Source/core/svg/SVGFontFaceElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFitToViewBox.h
diff --git a/Source/core/svg/SVGFitToViewBox.h b/Source/core/svg/SVGFitToViewBox.h
index 6f52a5c53bdead19af5098fb81d45638cf2b50ef..9bdfaac336349ed9fd3bd0e981b3e56a2a7e6c6d 100644
--- a/Source/core/svg/SVGFitToViewBox.h
+++ b/Source/core/svg/SVGFitToViewBox.h
@@ -55,11 +55,11 @@ public:
if (name == SVGNames::viewBoxAttr) {
m_viewBox->setBaseValueAsString(value, parseError);
if (m_viewBox->baseValue()->width() < 0.0f) {
- document.accessSVGExtensions()->reportError("A negative value for ViewBox width is not allowed");
+ document.accessSVGExtensions().reportError("A negative value for ViewBox width is not allowed");
m_viewBox->baseValue()->setInvalid();
}
if (m_viewBox->baseValue()->height() < 0.0f) {
- document.accessSVGExtensions()->reportError("A negative value for ViewBox height is not allowed");
+ document.accessSVGExtensions().reportError("A negative value for ViewBox height is not allowed");
m_viewBox->baseValue()->setInvalid();
}
return true;
« no previous file with comments | « Source/core/svg/SVGFEImageElement.cpp ('k') | Source/core/svg/SVGFontFaceElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698