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

Side by Side Diff: sky/engine/core/frame/FrameView.cpp

Issue 763013002: Get rid of the remaining uses of GraphicsLayer. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix diff Created 6 years 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
« no previous file with comments | « no previous file | sky/engine/core/inspector/InspectorTraceEvents.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) 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
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
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
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/inspector/InspectorTraceEvents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698