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

Side by Side Diff: Source/core/rendering/RenderObject.cpp

Issue 741123002: Get rid of computeFloatRectForPaintInvalidation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Return reference; Fixup references in comments. Created 6 years, 1 month 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/rendering/RenderObject.h ('k') | Source/core/rendering/svg/RenderSVGBlock.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv ed. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv ed.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after
1401 RenderBox* boxParent = toRenderBox(o); 1401 RenderBox* boxParent = toRenderBox(o);
1402 boxParent->applyCachedClipAndScrollOffsetForPaintInvalidation(rect); 1402 boxParent->applyCachedClipAndScrollOffsetForPaintInvalidation(rect);
1403 if (rect.isEmpty()) 1403 if (rect.isEmpty())
1404 return; 1404 return;
1405 } 1405 }
1406 1406
1407 o->mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, p aintInvalidationState); 1407 o->mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, p aintInvalidationState);
1408 } 1408 }
1409 } 1409 }
1410 1410
1411 void RenderObject::computeFloatRectForPaintInvalidation(const RenderLayerModelOb ject*, FloatRect&, const PaintInvalidationState*) const
1412 {
1413 ASSERT_NOT_REACHED();
1414 }
1415
1416 void RenderObject::dirtyLinesFromChangedChild(RenderObject*) 1411 void RenderObject::dirtyLinesFromChangedChild(RenderObject*)
1417 { 1412 {
1418 } 1413 }
1419 1414
1420 #ifndef NDEBUG 1415 #ifndef NDEBUG
1421 1416
1422 void RenderObject::showTreeForThis() const 1417 void RenderObject::showTreeForThis() const
1423 { 1418 {
1424 if (node()) 1419 if (node())
1425 node()->showTreeForThis(); 1420 node()->showTreeForThis();
(...skipping 1719 matching lines...) Expand 10 before | Expand all | Expand 10 after
3145 { 3140 {
3146 if (object1) { 3141 if (object1) {
3147 const blink::RenderObject* root = object1; 3142 const blink::RenderObject* root = object1;
3148 while (root->parent()) 3143 while (root->parent())
3149 root = root->parent(); 3144 root = root->parent();
3150 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); 3145 root->showRenderTreeAndMark(object1, "*", object2, "-", 0);
3151 } 3146 }
3152 } 3147 }
3153 3148
3154 #endif 3149 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderObject.h ('k') | Source/core/rendering/svg/RenderSVGBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698