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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLRubyElement.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, 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 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/html/HTMLRubyElement.h" 5 #include "core/html/HTMLRubyElement.h"
6 6
7 #include "core/HTMLNames.h" 7 #include "core/HTMLNames.h"
8 #include "core/layout/LayoutRuby.h" 8 #include "core/layout/LayoutRuby.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 using namespace HTMLNames; 12 using namespace HTMLNames;
13 13
14 inline HTMLRubyElement::HTMLRubyElement(Document& document) 14 inline HTMLRubyElement::HTMLRubyElement(Document& document)
15 : HTMLElement(rubyTag, document) 15 : HTMLElement(rubyTag, document)
16 { 16 {
17 } 17 }
18 18
19 DEFINE_NODE_FACTORY(HTMLRubyElement) 19 DEFINE_NODE_FACTORY(HTMLRubyElement)
20 20
21 LayoutObject* HTMLRubyElement::createLayoutObject(const ComputedStyle& style) 21 LayoutObject* HTMLRubyElement::createLayoutObject(const ComputedStyle& style)
22 { 22 {
23 if (style.display() == INLINE) 23 if (style.display() == INLINE)
24 return new LayoutRubyAsInline(this); 24 return new LayoutRubyAsInline(this);
25 if (style.display() == BLOCK) 25 if (style.display() == BLOCK)
26 return new LayoutRubyAsBlock(this); 26 return new LayoutRubyAsBlock(this);
27 return LayoutObject::createObject(this, style); 27 return LayoutObject::createObject(this, style);
28 } 28 }
29 29
30 } 30 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLRubyElement.h ('k') | third_party/WebKit/Source/core/html/HTMLScriptElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698