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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutObject.cpp

Issue 1863463002: Renamings following up recent CLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('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 3398 matching lines...) Expand 10 before | Expand all | Expand 10 after
3409 return PaintInvalidationForcedByLayout; 3409 return PaintInvalidationForcedByLayout;
3410 case DocumentLifecycle::InCompositingUpdate: 3410 case DocumentLifecycle::InCompositingUpdate:
3411 return PaintInvalidationCompositingUpdate; 3411 return PaintInvalidationCompositingUpdate;
3412 default: 3412 default:
3413 return PaintInvalidationFull; 3413 return PaintInvalidationFull;
3414 } 3414 }
3415 } 3415 }
3416 3416
3417 inline void LayoutObject::markAncestorsForPaintInvalidation() 3417 inline void LayoutObject::markAncestorsForPaintInvalidation()
3418 { 3418 {
3419 for (LayoutObject* container = this->parentCrossingFrameBoundaries(); contai ner && !container->shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationS tate(); container = container->parentCrossingFrameBoundaries()) 3419 for (LayoutObject* parent = this->parentCrossingFrameBoundaries(); parent && !parent->shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState(); p arent = parent->parentCrossingFrameBoundaries())
3420 container->m_bitfields.setChildShouldCheckForPaintInvalidation(true); 3420 parent->m_bitfields.setChildShouldCheckForPaintInvalidation(true);
3421 } 3421 }
3422 3422
3423 void LayoutObject::setShouldInvalidateSelection() 3423 void LayoutObject::setShouldInvalidateSelection()
3424 { 3424 {
3425 if (!canUpdateSelectionOnRootLineBoxes()) 3425 if (!canUpdateSelectionOnRootLineBoxes())
3426 return; 3426 return;
3427 m_bitfields.setShouldInvalidateSelection(true); 3427 m_bitfields.setShouldInvalidateSelection(true);
3428 markAncestorsForPaintInvalidation(); 3428 markAncestorsForPaintInvalidation();
3429 frameView()->scheduleVisualUpdateForPaintInvalidationIfNeeded(); 3429 frameView()->scheduleVisualUpdateForPaintInvalidationIfNeeded();
3430 } 3430 }
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
3699 const blink::LayoutObject* root = object1; 3699 const blink::LayoutObject* root = object1;
3700 while (root->parent()) 3700 while (root->parent())
3701 root = root->parent(); 3701 root = root->parent();
3702 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); 3702 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0);
3703 } else { 3703 } else {
3704 fprintf(stderr, "Cannot showLayoutTree. Root is (nil)\n"); 3704 fprintf(stderr, "Cannot showLayoutTree. Root is (nil)\n");
3705 } 3705 }
3706 } 3706 }
3707 3707
3708 #endif 3708 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698