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

Side by Side Diff: Source/core/editing/EditCommand.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. Created 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 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 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef EditCommand_h 26 #ifndef EditCommand_h
27 #define EditCommand_h 27 #define EditCommand_h
28 28
29 #include "core/editing/EditAction.h" 29 #include "core/editing/EditAction.h"
30 #include "core/editing/VisibleSelection.h" 30 #include "core/editing/VisibleSelection.h"
31 #include "platform/heap/Handle.h" 31 #include "platform/heap/Handle.h"
32 32
33 #ifndef NDEBUG
34 #include "wtf/HashSet.h"
Ken Russell (switch to Gerrit) 2014/07/15 23:25:34 HashSet was unused in this header.
35 #endif
36
37 namespace WebCore { 33 namespace WebCore {
38 34
39 class CompositeEditCommand; 35 class CompositeEditCommand;
40 class Document; 36 class Document;
41 class Element; 37 class Element;
42 38
43 class EditCommand : public RefCountedWillBeGarbageCollectedFinalized<EditCommand > { 39 class EditCommand : public RefCountedWillBeGarbageCollectedFinalized<EditCommand > {
44 public: 40 public:
45 virtual ~EditCommand(); 41 virtual ~EditCommand();
46 42
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 88
93 private: 89 private:
94 virtual bool isSimpleEditCommand() const OVERRIDE FINAL { return true; } 90 virtual bool isSimpleEditCommand() const OVERRIDE FINAL { return true; }
95 }; 91 };
96 92
97 DEFINE_TYPE_CASTS(SimpleEditCommand, EditCommand, command, command->isSimpleEdit Command(), command.isSimpleEditCommand()); 93 DEFINE_TYPE_CASTS(SimpleEditCommand, EditCommand, command, command->isSimpleEdit Command(), command.isSimpleEditCommand());
98 94
99 } // namespace WebCore 95 } // namespace WebCore
100 96
101 #endif // EditCommand_h 97 #endif // EditCommand_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698