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

Unified Diff: third_party/WebKit/Source/core/frame/SmartClip.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: 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/frame/SmartClip.cpp
diff --git a/third_party/WebKit/Source/core/frame/SmartClip.cpp b/third_party/WebKit/Source/core/frame/SmartClip.cpp
index f21ea6684c9caa801ca00fe0ff6dbb5370c8d50d..98fd4519bd09b3a500ca060eb63bbd1ad5447fe3 100644
--- a/third_party/WebKit/Source/core/frame/SmartClip.cpp
+++ b/third_party/WebKit/Source/core/frame/SmartClip.cpp
@@ -210,8 +210,9 @@ bool SmartClip::shouldSkipBackgroundImage(Node* node) {
// or a width. On the other hand, if we've got a legit background image,
// it's very likely the height or the width will be set to auto.
LayoutObject* layoutObject = node->layoutObject();
- if (layoutObject && (layoutObject->style()->logicalHeight().isAuto() ||
- layoutObject->style()->logicalWidth().isAuto()))
+ if (layoutObject &&
+ (layoutObject->style()->logicalHeight().isAuto() ||
+ layoutObject->style()->logicalWidth().isAuto()))
return true;
return false;

Powered by Google App Engine
This is Rietveld 408576698