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

Unified Diff: Source/core/css/CSSPrimitiveValueMappings.h

Issue 1287623002: Delete blink code for scroll-blocks-on (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge with trunk (no changes from previous patch) Created 5 years, 4 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/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSProperties.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSPrimitiveValueMappings.h
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h
index a8976b8fa00767dfd00e6421e09dc35c1b8ec5d4..0f81c156814dcd17afa521841c72c819973b7cb0 100644
--- a/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/Source/core/css/CSSPrimitiveValueMappings.h
@@ -51,7 +51,6 @@
#include "platform/text/UnicodeBidi.h"
#include "platform/text/WritingMode.h"
#include "public/platform/WebBlendMode.h"
-#include "public/platform/WebScrollBlocksOn.h"
#include "wtf/MathExtras.h"
namespace blink {
@@ -4334,25 +4333,6 @@ template<> inline CSSPrimitiveValue::operator EIsolation() const
return IsolationAuto;
}
-template<> inline CSSPrimitiveValue::operator WebScrollBlocksOn() const
-{
- switch (m_value.valueID) {
- case CSSValueNone:
- return WebScrollBlocksOnNone;
- case CSSValueStartTouch:
- return WebScrollBlocksOnStartTouch;
- case CSSValueWheelEvent:
- return WebScrollBlocksOnWheelEvent;
- case CSSValueScrollEvent:
- return WebScrollBlocksOnScrollEvent;
- default:
- break;
- }
-
- ASSERT_NOT_REACHED();
- return WebScrollBlocksOnNone;
-}
-
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(CSSBoxType cssBox)
: CSSValue(PrimitiveClass)
{
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698