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

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

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. 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
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/core/rendering/FastTextAutosizer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R ights Reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R ights Reserved.
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 * 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 , m_spellCheckerClient(pageClients.spellCheckerClient) 130 , m_spellCheckerClient(pageClients.spellCheckerClient)
131 , m_storageClient(pageClients.storageClient) 131 , m_storageClient(pageClients.storageClient)
132 , m_subframeCount(0) 132 , m_subframeCount(0)
133 , m_openedByDOM(false) 133 , m_openedByDOM(false)
134 , m_tabKeyCyclesThroughElements(true) 134 , m_tabKeyCyclesThroughElements(true)
135 , m_defersLoading(false) 135 , m_defersLoading(false)
136 , m_deviceScaleFactor(1) 136 , m_deviceScaleFactor(1)
137 , m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval()) 137 , m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval())
138 , m_visibilityState(PageVisibilityStateVisible) 138 , m_visibilityState(PageVisibilityStateVisible)
139 , m_isCursorVisible(true) 139 , m_isCursorVisible(true)
140 #ifndef NDEBUG 140 #if ENABLE(ASSERT)
141 , m_isPainting(false) 141 , m_isPainting(false)
142 #endif 142 #endif
143 , m_frameHost(FrameHost::create(*this)) 143 , m_frameHost(FrameHost::create(*this))
144 { 144 {
145 ASSERT(m_editorClient); 145 ASSERT(m_editorClient);
146 146
147 ASSERT(!allPages().contains(this)); 147 ASSERT(!allPages().contains(this));
148 allPages().add(this); 148 allPages().add(this);
149 149
150 #ifndef NDEBUG 150 #ifndef NDEBUG
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 , spellCheckerClient(0) 656 , spellCheckerClient(0)
657 , storageClient(0) 657 , storageClient(0)
658 { 658 {
659 } 659 }
660 660
661 Page::PageClients::~PageClients() 661 Page::PageClients::~PageClients()
662 { 662 {
663 } 663 }
664 664
665 } // namespace WebCore 665 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/core/rendering/FastTextAutosizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698