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

Side by Side Diff: third_party/WebKit/Source/core/css/StylePropertySet.h

Issue 1528323002: Include <algorithm> if you use functions from <algorithm>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split ui parts into a separate review Created 5 years 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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 13 matching lines...) Expand all
24 #include "core/CSSPropertyNames.h" 24 #include "core/CSSPropertyNames.h"
25 #include "core/CoreExport.h" 25 #include "core/CoreExport.h"
26 #include "core/css/CSSPrimitiveValue.h" 26 #include "core/css/CSSPrimitiveValue.h"
27 #include "core/css/CSSProperty.h" 27 #include "core/css/CSSProperty.h"
28 #include "core/css/PropertySetCSSStyleDeclaration.h" 28 #include "core/css/PropertySetCSSStyleDeclaration.h"
29 #include "core/css/parser/CSSParserMode.h" 29 #include "core/css/parser/CSSParserMode.h"
30 #include "wtf/ListHashSet.h" 30 #include "wtf/ListHashSet.h"
31 #include "wtf/Noncopyable.h" 31 #include "wtf/Noncopyable.h"
32 #include "wtf/Vector.h" 32 #include "wtf/Vector.h"
33 #include "wtf/text/WTFString.h" 33 #include "wtf/text/WTFString.h"
34 #include <algorithm>
34 35
35 namespace blink { 36 namespace blink {
36 37
37 class CSSStyleDeclaration; 38 class CSSStyleDeclaration;
38 class ImmutableStylePropertySet; 39 class ImmutableStylePropertySet;
39 class MutableStylePropertySet; 40 class MutableStylePropertySet;
40 class StyleSheetContents; 41 class StyleSheetContents;
41 42
42 class CORE_EXPORT StylePropertySet : public RefCountedWillBeGarbageCollectedFina lized<StylePropertySet> { 43 class CORE_EXPORT StylePropertySet : public RefCountedWillBeGarbageCollectedFina lized<StylePropertySet> {
43 WTF_MAKE_NONCOPYABLE(StylePropertySet); 44 WTF_MAKE_NONCOPYABLE(StylePropertySet);
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 inline int StylePropertySet::findPropertyIndex(T property) const 313 inline int StylePropertySet::findPropertyIndex(T property) const
313 { 314 {
314 if (m_isMutable) 315 if (m_isMutable)
315 return toMutableStylePropertySet(this)->findPropertyIndex(property); 316 return toMutableStylePropertySet(this)->findPropertyIndex(property);
316 return toImmutableStylePropertySet(this)->findPropertyIndex(property); 317 return toImmutableStylePropertySet(this)->findPropertyIndex(property);
317 } 318 }
318 319
319 } // namespace blink 320 } // namespace blink
320 321
321 #endif // StylePropertySet_h 322 #endif // StylePropertySet_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698