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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp

Issue 2394263004: Reformat comments in core/layout up until LayoutMultiColumnFlowThread (Closed)
Patch Set: Rebase w/HEAD Created 4 years, 2 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
Index: third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
index 5839c0e7eef18763d89e2a42cd8d6f0b8337ea24..ae3e692e05cddc3df6f85c2c3db073722481f88d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
@@ -2,7 +2,8 @@
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 2000 Simon Hausmann <hausmann@kde.org>
* (C) 2000 Stefan Schimanski (1Stein@gmx.de)
- * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserved.
+ * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc.
+ * All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -49,11 +50,11 @@ LayoutEmbeddedObject::LayoutEmbeddedObject(Element* element)
LayoutEmbeddedObject::~LayoutEmbeddedObject() {}
PaintLayerType LayoutEmbeddedObject::layerTypeRequired() const {
- // This can't just use LayoutPart::layerTypeRequired, because PaintLayerCompositor
- // doesn't loop through LayoutEmbeddedObjects the way it does frames in order
- // to update the self painting bit on their Layer.
- // Also, unlike iframes, embeds don't used the usesCompositing bit on LayoutView
- // in requiresAcceleratedCompositing.
+ // This can't just use LayoutPart::layerTypeRequired, because
+ // PaintLayerCompositor doesn't loop through LayoutEmbeddedObjects the way it
+ // does frames in order to update the self painting bit on their Layer.
+ // Also, unlike iframes, embeds don't used the usesCompositing bit on
+ // LayoutView in requiresAcceleratedCompositing.
if (requiresAcceleratedCompositing())
return NormalPaintLayer;
return LayoutPart::layerTypeRequired();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.h ('k') | third_party/WebKit/Source/core/layout/LayoutFieldset.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698