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

Side by Side Diff: sky/engine/core/rendering/RenderObject.cpp

Issue 856453002: Delete unused paint invalidation function. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months 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 | « sky/engine/core/rendering/RenderObject.h ('k') | no next file » | 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 2048 matching lines...) Expand 10 before | Expand all | Expand 10 after
2059 2059
2060 bool RenderObject::canUpdateSelectionOnRootLineBoxes() 2060 bool RenderObject::canUpdateSelectionOnRootLineBoxes()
2061 { 2061 {
2062 if (needsLayout()) 2062 if (needsLayout())
2063 return false; 2063 return false;
2064 2064
2065 RenderBlock* containingBlock = this->containingBlock(); 2065 RenderBlock* containingBlock = this->containingBlock();
2066 return containingBlock ? !containingBlock->needsLayout() : false; 2066 return containingBlock ? !containingBlock->needsLayout() : false;
2067 } 2067 }
2068 2068
2069 // Returns the smallest rectangle enclosing all of the painted content
2070 // respecting clipping, masking, filters, opacity, stroke-width and markers
2071 FloatRect RenderObject::paintInvalidationRectInLocalCoordinates() const
2072 {
2073 ASSERT_NOT_REACHED();
2074 return FloatRect();
2075 }
2076
2077 bool RenderObject::nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint&, HitTestAction) 2069 bool RenderObject::nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint&, HitTestAction)
2078 { 2070 {
2079 ASSERT_NOT_REACHED(); 2071 ASSERT_NOT_REACHED();
2080 return false; 2072 return false;
2081 } 2073 }
2082 2074
2083 bool RenderObject::isRelayoutBoundaryForInspector() const 2075 bool RenderObject::isRelayoutBoundaryForInspector() const
2084 { 2076 {
2085 return objectIsRelayoutBoundary(this); 2077 return objectIsRelayoutBoundary(this);
2086 } 2078 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
2120 { 2112 {
2121 if (object1) { 2113 if (object1) {
2122 const blink::RenderObject* root = object1; 2114 const blink::RenderObject* root = object1;
2123 while (root->parent()) 2115 while (root->parent())
2124 root = root->parent(); 2116 root = root->parent();
2125 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); 2117 root->showRenderTreeAndMark(object1, "*", object2, "-", 0);
2126 } 2118 }
2127 } 2119 }
2128 2120
2129 #endif 2121 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderObject.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698