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

Unified Diff: Source/core/html/canvas/CanvasFontCache.cpp

Issue 1303173007: Oilpan: Unship Oilpan from CSSValues Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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/html/HTMLTablePartElement.cpp ('k') | Source/core/inspector/LayoutEditor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/CanvasFontCache.cpp
diff --git a/Source/core/html/canvas/CanvasFontCache.cpp b/Source/core/html/canvas/CanvasFontCache.cpp
index 2673c3339f9ce649fe31b68a8fd363453c53ab9b..297bec32de79f5d33d6f4cac2d8608e4666372e2 100644
--- a/Source/core/html/canvas/CanvasFontCache.cpp
+++ b/Source/core/html/canvas/CanvasFontCache.cpp
@@ -97,7 +97,7 @@ MutableStylePropertySet* CanvasFontCache::parseFont(const String& fontString)
return nullptr;
// According to http://lists.w3.org/Archives/Public/public-html/2009Jul/0947.html,
// the "inherit" and "initial" values must be ignored.
- RefPtrWillBeRawPtr<CSSValue> fontValue = parsedStyle->getPropertyCSSValue(CSSPropertyFontSize);
+ RefPtr<CSSValue> fontValue = parsedStyle->getPropertyCSSValue(CSSPropertyFontSize);
if (fontValue && (fontValue->isInitialValue() || fontValue->isInheritedValue()))
return nullptr;
m_fetchedFonts.add(fontString, parsedStyle);
« no previous file with comments | « Source/core/html/HTMLTablePartElement.cpp ('k') | Source/core/inspector/LayoutEditor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698