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

Side by Side Diff: Source/core/frame/FrameView.cpp

Issue 91183002: Timeline: do not rely on UpdateLayer & PaintLayer trace events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: re-upload Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/inspector/InspectorInstrumentation.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 2938 matching lines...) Expand 10 before | Expand all | Expand 10 after
2949 RenderView* renderView = this->renderView(); 2949 RenderView* renderView = this->renderView();
2950 if (!renderView) { 2950 if (!renderView) {
2951 LOG_ERROR("called FrameView::paint with nil renderer"); 2951 LOG_ERROR("called FrameView::paint with nil renderer");
2952 return; 2952 return;
2953 } 2953 }
2954 2954
2955 ASSERT(!needsLayout()); 2955 ASSERT(!needsLayout());
2956 if (needsLayout()) 2956 if (needsLayout())
2957 return; 2957 return;
2958 2958
2959 InspectorInstrumentation::willPaint(renderView); 2959 InspectorInstrumentation::willPaint(renderView, 0);
2960 2960
2961 bool isTopLevelPainter = !s_inPaintContents; 2961 bool isTopLevelPainter = !s_inPaintContents;
2962 s_inPaintContents = true; 2962 s_inPaintContents = true;
2963 2963
2964 FontCachePurgePreventer fontCachePurgePreventer; 2964 FontCachePurgePreventer fontCachePurgePreventer;
2965 2965
2966 PaintBehavior oldPaintBehavior = m_paintBehavior; 2966 PaintBehavior oldPaintBehavior = m_paintBehavior;
2967 2967
2968 if (FrameView* parentView = parentFrameView()) { 2968 if (FrameView* parentView = parentFrameView()) {
2969 if (parentView->paintBehavior() & PaintBehaviorFlattenCompositingLayers) 2969 if (parentView->paintBehavior() & PaintBehaviorFlattenCompositingLayers)
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
3503 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation) 3503 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation)
3504 { 3504 {
3505 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); 3505 ScrollableArea::willRemoveScrollbar(scrollbar, orientation);
3506 if (AXObjectCache* cache = axObjectCache()) { 3506 if (AXObjectCache* cache = axObjectCache()) {
3507 cache->remove(scrollbar); 3507 cache->remove(scrollbar);
3508 cache->handleScrollbarUpdate(this); 3508 cache->handleScrollbarUpdate(this);
3509 } 3509 }
3510 } 3510 }
3511 3511
3512 } // namespace WebCore 3512 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorInstrumentation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698