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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp

Issue 2833223002: Removed superfluous custom style DCHECK. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp
index 01cd41d69c3b54885f77aed9b77982d2fde82627..275f234b159e40d1e20d1d28f2d74f9b45e975ec 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp
@@ -158,9 +158,6 @@ void ShadowRoot::RecalcStyle(StyleRecalcChange change) {
}
void ShadowRoot::RebuildLayoutTree(Text*& next_text_sibling) {
- // ShadowRoot doesn't support custom callbacks.
- DCHECK(!HasCustomStyleCallbacks());
-
if (!NeedsReattachLayoutTree() && !ChildNeedsReattachLayoutTree()) {
SkipRebuildLayoutTree(next_text_sibling);
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698