Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
index 96a0d16869d380276ff4d08e52071c5829df4917..c08c5dea4a5a2d7bf32a6ce1c02ed09b318931e0 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
@@ -633,7 +633,7 @@ PassOwnPtr<DragImage> LocalFrame::nodeImage(Node& node) |
// Paint starting at the nearest self painting layer, clipped to the object itself. |
// TODO(pdr): This will also paint the content behind the object if the object contains |
// transparency but the layer is opaque. We could directly call layoutObject->paint(...) |
- // (see ObjectPainter::paintAsPseudoStackingContext) but this would skip self-painting children. |
+ // (see ObjectPainter::paintAllPhasesAtomically) but this would skip self-painting children. |
PaintLayer* layer = layoutObject->enclosingLayer()->enclosingSelfPaintingLayer(); |
IntRect absoluteBoundingBox = layoutObject->absoluteBoundingBoxRectIncludingDescendants(); |
FloatRect boundingBox = layer->layoutObject()->absoluteToLocalQuad(FloatQuad(absoluteBoundingBox), UseTransforms).boundingBox(); |