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

Side by Side Diff: Source/core/page/Page.h

Issue 394353002: Replace tests of ASSERT_ENABLED with ENABLE(ASSERT). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 void trace(Visitor*); 228 void trace(Visitor*);
229 void willBeDestroyed(); 229 void willBeDestroyed();
230 230
231 protected: 231 protected:
232 PageLifecycleNotifier& lifecycleNotifier(); 232 PageLifecycleNotifier& lifecycleNotifier();
233 233
234 private: 234 private:
235 void initGroup(); 235 void initGroup();
236 236
237 #if ASSERT_ENABLED 237 #if ENABLE(ASSERT)
238 void checkSubframeCountConsistency() const; 238 void checkSubframeCountConsistency() const;
239 #else 239 #else
240 void checkSubframeCountConsistency() const { } 240 void checkSubframeCountConsistency() const { }
241 #endif 241 #endif
242 242
243 void setTimerAlignmentInterval(double); 243 void setTimerAlignmentInterval(double);
244 244
245 void setNeedsLayoutInAllFrames(); 245 void setNeedsLayoutInAllFrames();
246 246
247 // SettingsDelegate overrides. 247 // SettingsDelegate overrides.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m ultisamplingChangedObservers; 306 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m ultisamplingChangedObservers;
307 307
308 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. 308 // A pointer to all the interfaces provided to in-process Frames for this Pa ge.
309 // FIXME: Most of the members of Page should move onto FrameHost. 309 // FIXME: Most of the members of Page should move onto FrameHost.
310 OwnPtrWillBeMember<FrameHost> m_frameHost; 310 OwnPtrWillBeMember<FrameHost> m_frameHost;
311 }; 311 };
312 312
313 } // namespace WebCore 313 } // namespace WebCore
314 314
315 #endif // Page_h 315 #endif // Page_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698