OLD | NEW |
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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 if (frame->isLocalFrame() && toLocalFrame(frame)->document()) | 413 if (frame->isLocalFrame() && toLocalFrame(frame)->document()) |
414 toLocalFrame(frame)->document()->didChangeTimerAlignmentInterval(); | 414 toLocalFrame(frame)->document()->didChangeTimerAlignmentInterval(); |
415 } | 415 } |
416 } | 416 } |
417 | 417 |
418 double Page::timerAlignmentInterval() const | 418 double Page::timerAlignmentInterval() const |
419 { | 419 { |
420 return m_timerAlignmentInterval; | 420 return m_timerAlignmentInterval; |
421 } | 421 } |
422 | 422 |
423 #if !ASSERT_DISABLED | 423 #if ASSERT_ENABLED |
424 void Page::checkSubframeCountConsistency() const | 424 void Page::checkSubframeCountConsistency() const |
425 { | 425 { |
426 ASSERT(m_subframeCount >= 0); | 426 ASSERT(m_subframeCount >= 0); |
427 | 427 |
428 int subframeCount = 0; | 428 int subframeCount = 0; |
429 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) | 429 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) |
430 ++subframeCount; | 430 ++subframeCount; |
431 | 431 |
432 ASSERT(m_subframeCount + 1 == subframeCount); | 432 ASSERT(m_subframeCount + 1 == subframeCount); |
433 } | 433 } |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 , spellCheckerClient(0) | 632 , spellCheckerClient(0) |
633 , storageClient(0) | 633 , storageClient(0) |
634 { | 634 { |
635 } | 635 } |
636 | 636 |
637 Page::PageClients::~PageClients() | 637 Page::PageClients::~PageClients() |
638 { | 638 { |
639 } | 639 } |
640 | 640 |
641 } // namespace WebCore | 641 } // namespace WebCore |
OLD | NEW |