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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_node.h

Issue 2651793013: Fix incorrectly calculated size/position information for writing-modes (Closed)
Patch Set: git rebase-update Created 3 years, 10 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/ng/ng_block_node.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
index 7f421622bfe89d866ed86d87f34fd18e2182406a..0306826f19161bc613b080e02a7de32a3ff71986 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
@@ -6,6 +6,7 @@
#define NGBlockNode_h
#include "core/CoreExport.h"
+#include "core/layout/LayoutBox.h"
#include "core/layout/ng/ng_layout_input_node.h"
#include "core/layout/ng/ng_physical_box_fragment.h"
#include "platform/heap/Handle.h"
@@ -13,7 +14,6 @@
namespace blink {
class ComputedStyle;
-class LayoutBox;
class LayoutObject;
class NGBreakToken;
class NGConstraintSpace;
@@ -59,6 +59,9 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode {
return fragment_ && !fragment_->BreakToken();
}
+ // Used for debugging purposes only.
+ const LayoutBox* LegacyLayoutBox() const { return layout_box_; }
+
DECLARE_VIRTUAL_TRACE();
// Runs layout on layout_box_ and creates a fragment for the resulting

Powered by Google App Engine
This is Rietveld 408576698