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

Unified Diff: Source/core/rendering/RenderSelectionInfo.h

Issue 570763003: Remove unneeded bool from RenderView::selectionBounds (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined (again and again) Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderReplaced.cpp ('k') | Source/core/rendering/RenderText.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderSelectionInfo.h
diff --git a/Source/core/rendering/RenderSelectionInfo.h b/Source/core/rendering/RenderSelectionInfo.h
index 051f553b06d5fe010005f70de3c80d53103e4396..66467c0fc46c81edccfe9bbcfbdb7eb3db0f7de5 100644
--- a/Source/core/rendering/RenderSelectionInfo.h
+++ b/Source/core/rendering/RenderSelectionInfo.h
@@ -66,11 +66,11 @@ protected:
// This struct is used when the selection changes to cache the old and new state of the selection for each RenderObject.
class RenderSelectionInfo FINAL : public RenderSelectionInfoBase {
public:
- RenderSelectionInfo(RenderObject* o, bool clipToVisibleContent)
+ RenderSelectionInfo(RenderObject* o)
: RenderSelectionInfoBase(o)
{
if (m_paintInvalidationContainer && o->canUpdateSelectionOnRootLineBoxes()) {
- m_rect = o->selectionRectForPaintInvalidation(m_paintInvalidationContainer, clipToVisibleContent);
+ m_rect = o->selectionRectForPaintInvalidation(m_paintInvalidationContainer);
// FIXME: groupedMapping() leaks the squashing abstraction. See RenderBlockSelectionInfo for more details.
if (m_paintInvalidationContainer->layer()->groupedMapping())
RenderLayer::mapRectToPaintBackingCoordinates(m_paintInvalidationContainer, m_rect);
« no previous file with comments | « Source/core/rendering/RenderReplaced.cpp ('k') | Source/core/rendering/RenderText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698