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

Unified Diff: third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp

Issue 1896893004: Hook up style invalidation for CSS Paint API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@css-paint-register
Patch Set: rebase. 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/CSSPropertyEquality.cpp
diff --git a/third_party/WebKit/Source/core/animation/css/CSSPropertyEquality.cpp b/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp
similarity index 98%
rename from third_party/WebKit/Source/core/animation/css/CSSPropertyEquality.cpp
rename to third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp
index 9355fee81ed4a4edbaf79af053c3b0182ad0cbab..7c305a6b7f18f80a51b72689931ed6e8eb5244c0 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSPropertyEquality.cpp
+++ b/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp
@@ -2,13 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "core/animation/css/CSSPropertyEquality.h"
+#include "core/css/CSSPropertyEquality.h"
-#include "core/animation/css/CSSAnimations.h"
-#include "core/style/DataEquivalency.h"
#include "core/style/ComputedStyle.h"
+#include "core/style/DataEquivalency.h"
#include "core/style/ShadowList.h"
+// TODO(ikilpatrick): generate this file.
+
namespace blink {
namespace {
@@ -40,7 +41,7 @@ bool fillLayersEqual(const FillLayer& aLayers, const FillLayer& bLayers)
return false;
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return true;
}
@@ -332,7 +333,7 @@ bool CSSPropertyEquality::propertiesEqual(CSSPropertyID prop, const ComputedStyl
case CSSPropertyZIndex:
return a.hasAutoZIndex() == b.hasAutoZIndex() && (a.hasAutoZIndex() || a.zIndex() == b.zIndex());
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return true;
}
}

Powered by Google App Engine
This is Rietveld 408576698