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

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

Issue 9930007: Merge 111899 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 8 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
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 2770 matching lines...) Expand 10 before | Expand all | Expand 10 after
2781 return createVisiblePosition(0, DOWNSTREAM); 2781 return createVisiblePosition(0, DOWNSTREAM);
2782 } 2782 }
2783 2783
2784 CursorDirective RenderObject::getCursor(const LayoutPoint&, Cursor&) const 2784 CursorDirective RenderObject::getCursor(const LayoutPoint&, Cursor&) const
2785 { 2785 {
2786 return SetCursorBasedOnStyle; 2786 return SetCursorBasedOnStyle;
2787 } 2787 }
2788 2788
2789 bool RenderObject::canUpdateSelectionOnRootLineBoxes() 2789 bool RenderObject::canUpdateSelectionOnRootLineBoxes()
2790 { 2790 {
2791 if (needsLayout())
2792 return false;
2793
2791 RenderBlock* containingBlock = this->containingBlock(); 2794 RenderBlock* containingBlock = this->containingBlock();
2792 return containingBlock ? !containingBlock->needsLayout() : true; 2795 return containingBlock ? !containingBlock->needsLayout() : true;
2793 } 2796 }
2794 2797
2795 #if ENABLE(SVG) 2798 #if ENABLE(SVG)
2796 2799
2797 RenderSVGResourceContainer* RenderObject::toRenderSVGResourceContainer() 2800 RenderSVGResourceContainer* RenderObject::toRenderSVGResourceContainer()
2798 { 2801 {
2799 ASSERT_NOT_REACHED(); 2802 ASSERT_NOT_REACHED();
2800 return 0; 2803 return 0;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
2871 { 2874 {
2872 if (object1) { 2875 if (object1) {
2873 const WebCore::RenderObject* root = object1; 2876 const WebCore::RenderObject* root = object1;
2874 while (root->parent()) 2877 while (root->parent())
2875 root = root->parent(); 2878 root = root->parent();
2876 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); 2879 root->showRenderTreeAndMark(object1, "*", object2, "-", 0);
2877 } 2880 }
2878 } 2881 }
2879 2882
2880 #endif 2883 #endif
OLDNEW
« no previous file with comments | « LayoutTests/editing/selection/clear-selection-crash-expected.txt ('k') | Source/WebCore/rendering/RenderSelectionInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698