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

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

Issue 708213002: Remove the HasOwnBackingButPaintsIntoAncestor compositing state. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed more tests. 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 549
550 if (l.renderer()->hasBlendMode()) 550 if (l.renderer()->hasBlendMode())
551 ts << " blendMode: " << compositeOperatorName(CompositeSourceOver, l.ren derer()->style()->blendMode()); 551 ts << " blendMode: " << compositeOperatorName(CompositeSourceOver, l.ren derer()->style()->blendMode());
552 552
553 if (behavior & RenderAsTextShowCompositedLayers) { 553 if (behavior & RenderAsTextShowCompositedLayers) {
554 if (l.hasCompositedLayerMapping()) { 554 if (l.hasCompositedLayerMapping()) {
555 ts << " (composited, bounds=" 555 ts << " (composited, bounds="
556 << l.compositedLayerMapping()->compositedBounds() 556 << l.compositedLayerMapping()->compositedBounds()
557 << ", drawsContent=" 557 << ", drawsContent="
558 << l.compositedLayerMapping()->mainGraphicsLayer()->drawsContent () 558 << l.compositedLayerMapping()->mainGraphicsLayer()->drawsContent ()
559 << ", paints into ancestor="
560 << l.compositedLayerMapping()->paintsIntoCompositedAncestor()
561 << (l.shouldIsolateCompositedDescendants() ? ", isolatesComposit edBlending" : "") 559 << (l.shouldIsolateCompositedDescendants() ? ", isolatesComposit edBlending" : "")
562 << ")"; 560 << ")";
563 } 561 }
564 } 562 }
565 563
566 ts << "\n"; 564 ts << "\n";
567 565
568 if (paintPhase != LayerPaintPhaseBackground) 566 if (paintPhase != LayerPaintPhaseBackground)
569 write(ts, *l.renderer(), indent + 1, behavior); 567 write(ts, *l.renderer(), indent + 1, behavior);
570 } 568 }
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 element->document().updateLayout(); 767 element->document().updateLayout();
770 768
771 RenderObject* renderer = element->renderer(); 769 RenderObject* renderer = element->renderer();
772 if (!renderer || !renderer->isListItem()) 770 if (!renderer || !renderer->isListItem())
773 return String(); 771 return String();
774 772
775 return toRenderListItem(renderer)->markerText(); 773 return toRenderListItem(renderer)->markerText();
776 } 774 }
777 775
778 } // namespace blink 776 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/compositing/CompositedLayerMapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698