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

Unified Diff: Source/web/PluginPlaceholderImplTest.cpp

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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/platform/heap/ThreadState.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PluginPlaceholderImplTest.cpp
diff --git a/Source/web/PluginPlaceholderImplTest.cpp b/Source/web/PluginPlaceholderImplTest.cpp
index 8c8514e3bb37809fa1599bee5b1c18b95ca5a001..1b7028b804225803d6906b1bd184be8c2b8cf072 100644
--- a/Source/web/PluginPlaceholderImplTest.cpp
+++ b/Source/web/PluginPlaceholderImplTest.cpp
@@ -99,8 +99,8 @@ bool isHiddenWithInlineStyle(Element* element)
{
if (!element->inlineStyle())
return false;
- RefPtrWillBeRawPtr<CSSValue> value = element->inlineStyle()->getPropertyCSSValue(CSSPropertyDisplay);
- return value && value->isPrimitiveValue() && toCSSPrimitiveValue(value.get())->getValueID() == CSSValueNone;
+ NullableCSSValue value = element->inlineStyle()->getPropertyCSSValue(CSSPropertyDisplay);
+ return value && value->isPrimitiveValue() && toCSSPrimitiveValue(value)->getValueID() == CSSValueNone;
}
TEST_F(PluginPlaceholderImplTest, Closeable)
« no previous file with comments | « Source/platform/heap/ThreadState.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698