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

Side by Side Diff: Source/core/css/MediaQueryMatcher.cpp

Issue 366913007: Oilpan: fix build after r177376. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 13 matching lines...) Expand all
24 #include "core/css/MediaQueryEvaluator.h" 24 #include "core/css/MediaQueryEvaluator.h"
25 #include "core/css/MediaQueryList.h" 25 #include "core/css/MediaQueryList.h"
26 #include "core/css/MediaQueryListListener.h" 26 #include "core/css/MediaQueryListListener.h"
27 #include "core/css/resolver/StyleResolver.h" 27 #include "core/css/resolver/StyleResolver.h"
28 #include "core/dom/Document.h" 28 #include "core/dom/Document.h"
29 #include "core/frame/FrameView.h" 29 #include "core/frame/FrameView.h"
30 #include "core/frame/LocalFrame.h" 30 #include "core/frame/LocalFrame.h"
31 31
32 namespace WebCore { 32 namespace WebCore {
33 33
34 PassRefPtrWillBeRawPtr<MediaQueryMatcher> MediaQueryMatcher::create(Document& do cument)
35 {
36 return adoptRefWillBeNoop(new MediaQueryMatcher(document));
37 }
38
34 MediaQueryMatcher::MediaQueryMatcher(Document& document) 39 MediaQueryMatcher::MediaQueryMatcher(Document& document)
35 : m_document(&document) 40 : m_document(&document)
36 { 41 {
37 ASSERT(m_document); 42 ASSERT(m_document);
38 } 43 }
39 44
40 DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(MediaQueryMatcher) 45 DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(MediaQueryMatcher)
41 46
42 void MediaQueryMatcher::documentDetached() 47 void MediaQueryMatcher::documentDetached()
43 { 48 {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 m_document->enqueueMediaQueryChangeListeners(listenersToNotify); 117 m_document->enqueueMediaQueryChangeListeners(listenersToNotify);
113 } 118 }
114 119
115 void MediaQueryMatcher::trace(Visitor* visitor) 120 void MediaQueryMatcher::trace(Visitor* visitor)
116 { 121 {
117 visitor->trace(m_document); 122 visitor->trace(m_document);
118 visitor->trace(m_mediaLists); 123 visitor->trace(m_mediaLists);
119 } 124 }
120 125
121 } 126 }
OLDNEW
« Source/core/css/MediaQueryMatcher.h ('K') | « Source/core/css/MediaQueryMatcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698