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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryList.h

Issue 2583093002: Reduce SuspendableObjects (Closed)
Patch Set: 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/MediaQueryList.h
diff --git a/third_party/WebKit/Source/core/css/MediaQueryList.h b/third_party/WebKit/Source/core/css/MediaQueryList.h
index e7fe4acc975ad97017b347a444935e187df3d7bc..e5e17c13d5afdd22d151975a324cfab422d0b5a2 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryList.h
+++ b/third_party/WebKit/Source/core/css/MediaQueryList.h
@@ -23,7 +23,7 @@
#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/CoreExport.h"
-#include "core/dom/SuspendableObject.h"
+#include "core/dom/ContextLifecycleObserver.h"
#include "core/events/EventTarget.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
@@ -44,7 +44,7 @@ class MediaQuerySet;
class CORE_EXPORT MediaQueryList final
: public EventTargetWithInlineData,
public ActiveScriptWrappable<MediaQueryList>,
- public SuspendableObject {
+ public ContextLifecycleObserver {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(MediaQueryList);
WTF_MAKE_NONCOPYABLE(MediaQueryList);
@@ -79,7 +79,7 @@ class CORE_EXPORT MediaQueryList final
// From ScriptWrappable
bool hasPendingActivity() const final;
- // From SuspendableObject
+ // From ContextLifecycleObserver
void contextDestroyed() override;
const AtomicString& interfaceName() const override;
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.cpp ('k') | third_party/WebKit/Source/core/css/MediaQueryList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698