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

Side by Side Diff: third_party/WebKit/Source/core/dom/FirstLetterPseudoElement.cpp

Issue 2151933003: Change WTF::TemporaryChange to be an alias for AutoReset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TemporaryChange -> AutoReset Created 4 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 13 matching lines...) Expand all
24 #include "core/dom/FirstLetterPseudoElement.h" 24 #include "core/dom/FirstLetterPseudoElement.h"
25 25
26 #include "core/dom/Element.h" 26 #include "core/dom/Element.h"
27 #include "core/dom/StyleChangeReason.h" 27 #include "core/dom/StyleChangeReason.h"
28 #include "core/layout/GeneratedChildren.h" 28 #include "core/layout/GeneratedChildren.h"
29 #include "core/layout/LayoutObject.h" 29 #include "core/layout/LayoutObject.h"
30 #include "core/layout/LayoutObjectInlines.h" 30 #include "core/layout/LayoutObjectInlines.h"
31 #include "core/layout/LayoutText.h" 31 #include "core/layout/LayoutText.h"
32 #include "core/layout/LayoutTextFragment.h" 32 #include "core/layout/LayoutTextFragment.h"
33 #include "core/layout/api/LayoutTextFragmentItem.h" 33 #include "core/layout/api/LayoutTextFragmentItem.h"
34 #include "wtf/TemporaryChange.h"
35 #include "wtf/text/WTFString.h" 34 #include "wtf/text/WTFString.h"
36 #include "wtf/text/icu/UnicodeIcu.h" 35 #include "wtf/text/icu/UnicodeIcu.h"
37 36
38 namespace blink { 37 namespace blink {
39 38
40 using namespace WTF; 39 using namespace WTF;
41 using namespace Unicode; 40 using namespace Unicode;
42 41
43 // CSS 2.1 http://www.w3.org/TR/CSS21/selector.html#first-letter 42 // CSS 2.1 http://www.w3.org/TR/CSS21/selector.html#first-letter
44 // "Punctuation (i.e, characters defined in Unicode [UNICODE] in the "open" (Ps) , "close" (Pe), 43 // "Punctuation (i.e, characters defined in Unicode [UNICODE] in the "open" (Ps) , "close" (Pe),
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 312
314 // We only manage the style for the generated content items. 313 // We only manage the style for the generated content items.
315 if (!child->isText() && !child->isQuote() && !child->isImage()) 314 if (!child->isText() && !child->isQuote() && !child->isImage())
316 continue; 315 continue;
317 316
318 child->setPseudoStyle(layoutObject->mutableStyle()); 317 child->setPseudoStyle(layoutObject->mutableStyle());
319 } 318 }
320 } 319 }
321 320
322 } // namespace blink 321 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/StyleEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698