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

Side by Side Diff: third_party/WebKit/Source/core/layout/PaintContainmentTest.cpp

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) Created 4 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/layout/LayoutBlock.h" 5 #include "core/layout/LayoutBlock.h"
6 #include "core/layout/LayoutInline.h" 6 #include "core/layout/LayoutInline.h"
7 #include "core/layout/LayoutTestHelper.h" 7 #include "core/layout/LayoutTestHelper.h"
8 #include "core/paint/PaintLayer.h" 8 #include "core/paint/PaintLayer.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 { 43 {
44 setBodyInnerHTML("<div><span id='test' style='contain: paint'>Foo</span></di v>"); 44 setBodyInnerHTML("<div><span id='test' style='contain: paint'>Foo</span></di v>");
45 Element* span = document().getElementById(AtomicString("test")); 45 Element* span = document().getElementById(AtomicString("test"));
46 ASSERT(span); 46 ASSERT(span);
47 LayoutObject* obj = span->layoutObject(); 47 LayoutObject* obj = span->layoutObject();
48 ASSERT(obj && obj->isInline()); 48 ASSERT(obj && obj->isInline());
49 LayoutInline& layoutInline = toLayoutInline(*obj); 49 LayoutInline& layoutInline = toLayoutInline(*obj);
50 checkIsClippingStackingContextAndContainer(layoutInline); 50 checkIsClippingStackingContextAndContainer(layoutInline);
51 } 51 }
52 52
53 } 53 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698