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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp

Issue 2336693002: Rendering text to a canvas in a frame-less document. (Closed)
Patch Set: Created 4 years, 3 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/resolver/StyleResolverState.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
index cc2e3c55ec01c2e2e1b1c4f62d5a482a6244c3a1..116d03db3d5020fcf9203fdd5bafa1db5325caba 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
@@ -45,8 +45,6 @@ StyleResolverState::StyleResolverState(Document& document, const ElementResolveC
// TODO(jchaffraix): We should make m_parentStyle const (https://crbug.com/468152)
m_parentStyle = const_cast<ComputedStyle*>(m_elementContext.parentStyle());
}
-
- ASSERT(document.isActive());
}
StyleResolverState::StyleResolverState(Document& document, Element* element, const ComputedStyle* parentStyle)

Powered by Google App Engine
This is Rietveld 408576698