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

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

Issue 2593983002: Replace DOMWindowProperty in core/ with ContextClient (Closed)
Patch Set: temp Created 4 years 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/StyleMedia.cpp
diff --git a/third_party/WebKit/Source/core/css/StyleMedia.cpp b/third_party/WebKit/Source/core/css/StyleMedia.cpp
index c666546fd85c6cab99c62748aee18b007e7193f8..65213feec22c5d23a4c033d3e55cd7fac14e7e6d 100644
--- a/third_party/WebKit/Source/core/css/StyleMedia.cpp
+++ b/third_party/WebKit/Source/core/css/StyleMedia.cpp
@@ -33,7 +33,7 @@
namespace blink {
-StyleMedia::StyleMedia(LocalFrame* frame) : DOMWindowProperty(frame) {}
+StyleMedia::StyleMedia(LocalFrame* frame) : ContextClient(frame) {}
AtomicString StyleMedia::type() const {
FrameView* view = frame() ? frame()->view() : nullptr;
@@ -62,7 +62,7 @@ bool StyleMedia::matchMedium(const String& query) const {
}
DEFINE_TRACE(StyleMedia) {
- DOMWindowProperty::trace(visitor);
+ ContextClient::trace(visitor);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleMedia.h ('k') | third_party/WebKit/Source/core/editing/DOMSelection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698