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

Side by Side Diff: Source/core/css/resolver/StyleResolver.cpp

Issue 342693003: Removing using declarations that import names in the C++ Standard library. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 #include "core/html/HTMLIFrameElement.h" 77 #include "core/html/HTMLIFrameElement.h"
78 #include "core/inspector/InspectorInstrumentation.h" 78 #include "core/inspector/InspectorInstrumentation.h"
79 #include "core/rendering/RenderView.h" 79 #include "core/rendering/RenderView.h"
80 #include "core/rendering/style/KeyframeList.h" 80 #include "core/rendering/style/KeyframeList.h"
81 #include "core/svg/SVGDocumentExtensions.h" 81 #include "core/svg/SVGDocumentExtensions.h"
82 #include "core/svg/SVGElement.h" 82 #include "core/svg/SVGElement.h"
83 #include "core/svg/SVGFontFaceElement.h" 83 #include "core/svg/SVGFontFaceElement.h"
84 #include "platform/RuntimeEnabledFeatures.h" 84 #include "platform/RuntimeEnabledFeatures.h"
85 #include "wtf/StdLibExtras.h" 85 #include "wtf/StdLibExtras.h"
86 86
87 using namespace std;
88
89 namespace { 87 namespace {
90 88
91 using namespace WebCore; 89 using namespace WebCore;
92 90
93 void setAnimationUpdateIfNeeded(StyleResolverState& state, Element& element) 91 void setAnimationUpdateIfNeeded(StyleResolverState& state, Element& element)
94 { 92 {
95 // If any changes to CSS Animations were detected, stash the update away for application after the 93 // If any changes to CSS Animations were detected, stash the update away for application after the
96 // render object is updated if we're in the appropriate scope. 94 // render object is updated if we're in the appropriate scope.
97 if (state.animationUpdate()) 95 if (state.animationUpdate())
98 element.ensureActiveAnimations().cssAnimations().setPendingUpdate(state. takeAnimationUpdate()); 96 element.ensureActiveAnimations().cssAnimations().setPendingUpdate(state. takeAnimationUpdate());
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1506 visitor->trace(m_viewportStyleResolver); 1504 visitor->trace(m_viewportStyleResolver);
1507 visitor->trace(m_features); 1505 visitor->trace(m_features);
1508 visitor->trace(m_siblingRuleSet); 1506 visitor->trace(m_siblingRuleSet);
1509 visitor->trace(m_uncommonAttributeRuleSet); 1507 visitor->trace(m_uncommonAttributeRuleSet);
1510 visitor->trace(m_watchedSelectorsRules); 1508 visitor->trace(m_watchedSelectorsRules);
1511 visitor->trace(m_treeBoundaryCrossingRules); 1509 visitor->trace(m_treeBoundaryCrossingRules);
1512 visitor->trace(m_pendingStyleSheets); 1510 visitor->trace(m_pendingStyleSheets);
1513 } 1511 }
1514 1512
1515 } // namespace WebCore 1513 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698