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

Unified Diff: Source/core/editing/markup.cpp

Issue 1227793003: Perf Tryjob: CSSValue refactor step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: CL for perf tryjob on mac Created 5 years, 5 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/editing/EditorCommand.cpp ('k') | Source/core/html/HTMLHRElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/markup.cpp
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp
index 9ca18762c0c78e0c08b4100175312fc098b5a4ad..38957c13cee4f019d96453b294e38b3712d033d2 100644
--- a/Source/core/editing/markup.cpp
+++ b/Source/core/editing/markup.cpp
@@ -162,12 +162,12 @@ bool propertyMissingOrEqualToNone(StylePropertySet* style, CSSPropertyID propert
{
if (!style)
return false;
- RefPtrWillBeRawPtr<CSSValue> value = style->getPropertyCSSValue(propertyID);
+ NullableCSSValue value = style->getPropertyCSSValue(propertyID);
if (!value)
return true;
if (!value->isPrimitiveValue())
return false;
- return toCSSPrimitiveValue(value.get())->getValueID() == CSSValueNone;
+ return toCSSPrimitiveValue(value)->getValueID() == CSSValueNone;
}
static bool isPresentationalHTMLElement(const Node* node)
« no previous file with comments | « Source/core/editing/EditorCommand.cpp ('k') | Source/core/html/HTMLHRElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698