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

Side by Side Diff: Source/core/css/CSSBasicShapes.cpp

Issue 18733007: core/css: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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 /* 1 /*
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 10 matching lines...) Expand all
21 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 21 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE. 27 * SUCH DAMAGE.
28 */ 28 */
29 29
30 #include "config.h" 30 #include "config.h"
31 31
abarth-chromium 2013/07/11 03:39:17 You can also remove the blank line between config.
tfarina 2013/07/11 14:00:29 Done.
32 #include "core/css/CSSBasicShapes.h" 32 #include "core/css/CSSBasicShapes.h"
33 33
34 #include <wtf/text/StringBuilder.h> 34 #include "wtf/text/StringBuilder.h"
35 35
36 using namespace WTF; 36 using namespace WTF;
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 static String buildRectangleString(const String& x, const String& y, const Strin g& width, const String& height, const String& radiusX, const String& radiusY) 40 static String buildRectangleString(const String& x, const String& y, const Strin g& width, const String& height, const String& radiusX, const String& radiusY)
41 { 41 {
42 char opening[] = "rectangle("; 42 char opening[] = "rectangle(";
43 char separator[] = ", "; 43 char separator[] = ", ";
44 StringBuilder result; 44 StringBuilder result;
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 return m_top->hasVariableReference() 325 return m_top->hasVariableReference()
326 || m_right->hasVariableReference() 326 || m_right->hasVariableReference()
327 || m_bottom->hasVariableReference() 327 || m_bottom->hasVariableReference()
328 || m_left->hasVariableReference() 328 || m_left->hasVariableReference()
329 || (m_radiusX.get() && m_radiusX->hasVariableReference()) 329 || (m_radiusX.get() && m_radiusX->hasVariableReference())
330 || (m_radiusY.get() && m_radiusY->hasVariableReference()); 330 || (m_radiusY.get() && m_radiusY->hasVariableReference());
331 } 331 }
332 332
333 } // namespace WebCore 333 } // namespace WebCore
334 334
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698