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

Unified Diff: sky/engine/core/css/resolver/MediaQueryResult.h

Issue 686783002: Remove almost all of Oilpan (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « sky/engine/core/css/invalidation/StyleInvalidator.h ('k') | sky/engine/core/dom/Document.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/resolver/MediaQueryResult.h
diff --git a/sky/engine/core/css/resolver/MediaQueryResult.h b/sky/engine/core/css/resolver/MediaQueryResult.h
index fa20cf35984cac458a1cd9fceefa6c7e1b46e843..8b6a2051096e0e5f9143c840591eab2e317843cc 100644
--- a/sky/engine/core/css/resolver/MediaQueryResult.h
+++ b/sky/engine/core/css/resolver/MediaQueryResult.h
@@ -33,11 +33,7 @@ class MediaQueryResult : public RefCounted<MediaQueryResult> {
WTF_MAKE_NONCOPYABLE(MediaQueryResult); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
MediaQueryResult(const MediaQueryExp& expr, bool result)
-#if ENABLE(OILPAN)
- : m_expression(&expr)
-#else
: m_expression(expr)
-#endif
, m_result(result)
{
}
@@ -46,21 +42,13 @@ public:
const MediaQueryExp* expression() const
{
-#if ENABLE(OILPAN)
- return m_expression;
-#else
return &m_expression;
-#endif
}
bool result() const { return m_result; }
private:
-#if ENABLE(OILPAN)
- Member<const MediaQueryExp> m_expression;
-#else
MediaQueryExp m_expression;
-#endif
bool m_result;
};
« no previous file with comments | « sky/engine/core/css/invalidation/StyleInvalidator.h ('k') | sky/engine/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698