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

Side by Side Diff: third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 2005, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2008 Apple Inc. 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 15 matching lines...) Expand all
26 #include "core/editing/commands/RemoveCSSPropertyCommand.h" 26 #include "core/editing/commands/RemoveCSSPropertyCommand.h"
27 27
28 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 28 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
29 #include "core/css/CSSStyleDeclaration.h" 29 #include "core/css/CSSStyleDeclaration.h"
30 #include "core/css/StylePropertySet.h" 30 #include "core/css/StylePropertySet.h"
31 #include "core/dom/Element.h" 31 #include "core/dom/Element.h"
32 #include "wtf/Assertions.h" 32 #include "wtf/Assertions.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 RemoveCSSPropertyCommand::RemoveCSSPropertyCommand(Document& document, PassRefPt rWillBeRawPtr<Element> element, CSSPropertyID property) 36 RemoveCSSPropertyCommand::RemoveCSSPropertyCommand(Document& document, RawPtr<El ement> element, CSSPropertyID property)
37 : SimpleEditCommand(document) 37 : SimpleEditCommand(document)
38 , m_element(element) 38 , m_element(element)
39 , m_property(property) 39 , m_property(property)
40 , m_important(false) 40 , m_important(false)
41 { 41 {
42 ASSERT(m_element); 42 ASSERT(m_element);
43 } 43 }
44 44
45 RemoveCSSPropertyCommand::~RemoveCSSPropertyCommand() 45 RemoveCSSPropertyCommand::~RemoveCSSPropertyCommand()
46 { 46 {
(...skipping 18 matching lines...) Expand all
65 m_element->style()->setPropertyInternal(m_property, String(), m_oldValue, m_ important, IGNORE_EXCEPTION); 65 m_element->style()->setPropertyInternal(m_property, String(), m_oldValue, m_ important, IGNORE_EXCEPTION);
66 } 66 }
67 67
68 DEFINE_TRACE(RemoveCSSPropertyCommand) 68 DEFINE_TRACE(RemoveCSSPropertyCommand)
69 { 69 {
70 visitor->trace(m_element); 70 visitor->trace(m_element);
71 SimpleEditCommand::trace(visitor); 71 SimpleEditCommand::trace(visitor);
72 } 72 }
73 73
74 } // namespace blink 74 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698