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

Unified Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValue.h

Issue 1920583002: NOT FOR LANDING: Hack up CSSParser for speed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing consts. Created 4 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
Index: third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.h b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
index 8e22b0a09bbfacfb8899ed75b9bf907cb6c5ac1b..11a386ed81ff49b9fa8861eea43c31b36174175f 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
@@ -161,6 +161,8 @@ public:
static void initUnitTable();
static UnitType fromName(const String& unit);
+ static UnitType fromName(const LChar* characters8, unsigned length);
+ static UnitType fromName(const UChar* characters16, unsigned length);
bool isAngle() const
{

Powered by Google App Engine
This is Rietveld 408576698