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

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

Issue 2326633002: Adds filter support for offscreen canvas (Closed)
Patch Set: Working version of filters on offscreen canvas 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..03afbc0f4e7be22c7c89a86f0d8f5479b7c4ff73 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp
@@ -29,6 +29,16 @@
namespace blink {
+StyleResolverState::StyleResolverState(const ComputedStyle* parentStyle)
+ : m_document(nullptr)
+ , m_style(nullptr)
+ , m_parentStyle(const_cast<ComputedStyle*>(parentStyle))
+ , m_applyPropertyToRegularStyle(true)
+ , m_applyPropertyToVisitedLinkStyle(false)
+ , m_hasDirAutoAttribute(false)
+{
+}
+
StyleResolverState::StyleResolverState(Document& document, const ElementResolveContext& elementContext, const ComputedStyle* parentStyle)
: m_elementContext(elementContext)
, m_document(document)

Powered by Google App Engine
This is Rietveld 408576698