| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 | 800 |
| 801 RenderView* renderView = this->renderView(); | 801 RenderView* renderView = this->renderView(); |
| 802 if (!renderView) { | 802 if (!renderView) { |
| 803 WTF_LOG_ERROR("called FrameView::paint with nil renderer"); | 803 WTF_LOG_ERROR("called FrameView::paint with nil renderer"); |
| 804 return; | 804 return; |
| 805 } | 805 } |
| 806 | 806 |
| 807 RELEASE_ASSERT(!needsLayout()); | 807 RELEASE_ASSERT(!needsLayout()); |
| 808 ASSERT(document->lifecycle().state() >= DocumentLifecycle::CompositingClean)
; | 808 ASSERT(document->lifecycle().state() >= DocumentLifecycle::CompositingClean)
; |
| 809 | 809 |
| 810 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "Paint", "data"
, InspectorPaintEvent::data(renderView, rect, 0)); | 810 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "Paint", "data"
, InspectorPaintEvent::data(renderView, rect)); |
| 811 TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline.stack"), "
CallStack", TRACE_EVENT_SCOPE_PROCESS, "stack", InspectorCallStackEvent::current
CallStack()); | 811 TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline.stack"), "
CallStack", TRACE_EVENT_SCOPE_PROCESS, "stack", InspectorCallStackEvent::current
CallStack()); |
| 812 | 812 |
| 813 bool isTopLevelPainter = !s_inPaintContents; | 813 bool isTopLevelPainter = !s_inPaintContents; |
| 814 s_inPaintContents = true; | 814 s_inPaintContents = true; |
| 815 | 815 |
| 816 FontCachePurgePreventer fontCachePurgePreventer; | 816 FontCachePurgePreventer fontCachePurgePreventer; |
| 817 | 817 |
| 818 PaintBehavior oldPaintBehavior = m_paintBehavior; // FIXME(sky): is this nee
ded? | 818 PaintBehavior oldPaintBehavior = m_paintBehavior; // FIXME(sky): is this nee
ded? |
| 819 | 819 |
| 820 if (m_paintBehavior == PaintBehaviorNormal) | 820 if (m_paintBehavior == PaintBehaviorNormal) |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1022 void FrameView::setLayoutSizeInternal(const IntSize& size) | 1022 void FrameView::setLayoutSizeInternal(const IntSize& size) |
| 1023 { | 1023 { |
| 1024 if (m_layoutSize == size) | 1024 if (m_layoutSize == size) |
| 1025 return; | 1025 return; |
| 1026 | 1026 |
| 1027 m_layoutSize = size; | 1027 m_layoutSize = size; |
| 1028 contentsResized(); | 1028 contentsResized(); |
| 1029 } | 1029 } |
| 1030 | 1030 |
| 1031 } // namespace blink | 1031 } // namespace blink |
| OLD | NEW |