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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp

Issue 2804673003: Move CSSCounterValue & CSSCursorImageValue to the namespace blink::cssvalue. (Closed)
Patch Set: Created 3 years, 8 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 | « third_party/WebKit/Source/core/css/properties/CSSPropertyAPICursor.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
index 2eb7a947b75d72f0c8b0dfb065b35c763953a2f1..d6dd4985f6ae19c2e87631adc6abb8895d3c76e0 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
@@ -217,7 +217,8 @@ void StyleBuilderFunctions::applyValueCSSPropertyCursor(
state.style()->setCursor(ECursor::kAuto);
for (const auto& item : toCSSValueList(value)) {
if (item->isCursorImageValue()) {
- const CSSCursorImageValue& cursor = toCSSCursorImageValue(*item);
+ const cssvalue::CSSCursorImageValue& cursor =
+ cssvalue::toCSSCursorImageValue(*item);
const CSSValue& image = cursor.imageValue();
state.style()->addCursor(state.styleImage(CSSPropertyCursor, image),
cursor.hotSpotSpecified(), cursor.hotSpot());
@@ -723,7 +724,8 @@ void StyleBuilderFunctions::applyValueCSSPropertyContent(
nextContent =
ContentData::create(state.styleImage(CSSPropertyContent, *item));
} else if (item->isCounterValue()) {
- const CSSCounterValue* counterValue = toCSSCounterValue(item.get());
+ const cssvalue::CSSCounterValue* counterValue =
+ cssvalue::toCSSCounterValue(item.get());
const auto listStyleType =
cssValueIDToPlatformEnum<EListStyleType>(counterValue->listStyle());
std::unique_ptr<CounterContent> counter =
« no previous file with comments | « third_party/WebKit/Source/core/css/properties/CSSPropertyAPICursor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698