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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h

Issue 2024373002: Replace CSSParserString with StringView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Match arguments to equalStringView. Created 4 years, 7 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
Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
index 62c75376d7197f9a7fbd366c9bad1b4d1040bd1c..3d57a64e6168b217ae0790433b5e5c47f0e5eae4 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h
@@ -25,10 +25,10 @@
#include "core/css/StyleRule.h"
#include "core/css/parser/CSSParserTokenRange.h"
+#include "wtf/text/StringView.h"
namespace blink {
-struct CSSParserString;
class CSSProperty;
class CSSValue;
class StylePropertyShorthand;
@@ -108,8 +108,8 @@ private:
HeapVector<CSSProperty, 256>* m_parsedProperties;
};
-CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&);
-CSSValueID cssValueKeywordID(const CSSParserString&);
+CSSPropertyID unresolvedCSSPropertyID(StringView);
+CSSValueID cssValueKeywordID(StringView);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698