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

Unified Diff: Source/WebCore/css/CSSParser.cpp

Issue 13685003: Remove support for the LEGACY_CSS_VENDOR_PREFIXES compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | « Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp ('k') | Source/WebKit/chromium/features.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/css/CSSParser.cpp
diff --git a/Source/WebCore/css/CSSParser.cpp b/Source/WebCore/css/CSSParser.cpp
index 6faa3d9b6b06948db06f4325ece3aa64d4d1fbec..0386df8bcf0deabb3cd5e379b7b1231b916f577d 100644
--- a/Source/WebCore/css/CSSParser.cpp
+++ b/Source/WebCore/css/CSSParser.cpp
@@ -11782,16 +11782,6 @@ static CSSPropertyID cssPropertyID(const CharacterType* propertyName, unsigned l
const char* name = buffer;
if (buffer[0] == '-') {
-#if ENABLE(LEGACY_CSS_VENDOR_PREFIXES)
- // If the prefix is -apple- or -khtml-, change it to -webkit-.
- // This makes the string one character longer.
- if (RuntimeEnabledFeatures::legacyCSSVendorPrefixesEnabled()
- && (hasPrefix(buffer, length, "-apple-") || hasPrefix(buffer, length, "-khtml-"))) {
- memmove(buffer + 7, buffer + 6, length + 1 - 6);
- memcpy(buffer, "-webkit", 7);
- ++length;
- }
-#endif
#if PLATFORM(IOS)
cssPropertyNameIOSAliasing(buffer, name, length);
#endif
« no previous file with comments | « Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp ('k') | Source/WebKit/chromium/features.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698