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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.cc

Issue 2893493003: Respect the clearance while positioning pending floats. (Closed)
Patch Set: git rebase-update Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.cc b/third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.cc
index 6850137b95e24bf1560fd2447a5191a8c55ceb0c..5b7ea63c051f63dddf5bfd080a9d16c3a3104f05 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.cc
@@ -5,7 +5,6 @@
#include "core/layout/ng/ng_unpositioned_float.h"
#include "core/style/ComputedStyle.h"
-#include "core/style/ComputedStyleConstants.h"
namespace blink {
@@ -17,4 +16,8 @@ bool NGUnpositionedFloat::IsRight() const {
return node->Style().Floating() == EFloat::kRight;
}
+EClear NGUnpositionedFloat::ClearType() const {
+ return node->Style().Clear();
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698