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

Unified Diff: third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp

Issue 2794013002: Fewer reused duplicate symbol names in animation. (Closed)
Patch Set: Addressed review comments. 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
Index: third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
index a7f4c4afc12207e57907d633e7f741aeb0765df5..6968b2431e31c44ff48db5a657048a986659f7ae 100644
--- a/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
@@ -4,25 +4,18 @@
#include "core/animation/CSSImageSliceInterpolationType.h"
+#include <memory>
#include "core/animation/CSSLengthInterpolationType.h"
#include "core/animation/ImageSlicePropertyFunctions.h"
+#include "core/animation/SideIndex.h"
#include "core/css/CSSBorderImageSliceValue.h"
#include "core/css/resolver/StyleResolverState.h"
#include "wtf/PtrUtil.h"
-#include <memory>
namespace blink {
namespace {
-enum SideIndex : unsigned {
- SideTop,
- SideRight,
- SideBottom,
- SideLeft,
- SideIndexCount,
-};
-
struct SliceTypes {
explicit SliceTypes(const ImageSlice& slice) {
isNumber[SideTop] = slice.slices.top().isFixed();

Powered by Google App Engine
This is Rietveld 408576698