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

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

Issue 2772613002: [instrumentation] Rename InspectorInstrumentation into CoreProbes (Closed)
Patch Set: fix typo Created 3 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) 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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2013 Apple Inc. All 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2013 Apple Inc. All
5 * rights reserved. 5 * rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 13 matching lines...) Expand all
24 24
25 #include "bindings/core/v8/ExceptionState.h" 25 #include "bindings/core/v8/ExceptionState.h"
26 #include "core/dom/Document.h" 26 #include "core/dom/Document.h"
27 #include "core/dom/ExceptionCode.h" 27 #include "core/dom/ExceptionCode.h"
28 #include "core/dom/MutationObserverInterestGroup.h" 28 #include "core/dom/MutationObserverInterestGroup.h"
29 #include "core/dom/MutationRecord.h" 29 #include "core/dom/MutationRecord.h"
30 #include "core/dom/ProcessingInstruction.h" 30 #include "core/dom/ProcessingInstruction.h"
31 #include "core/dom/Text.h" 31 #include "core/dom/Text.h"
32 #include "core/editing/FrameSelection.h" 32 #include "core/editing/FrameSelection.h"
33 #include "core/events/MutationEvent.h" 33 #include "core/events/MutationEvent.h"
34 #include "core/inspector/InspectorInstrumentation.h" 34 #include "core/probe/CoreProbes.h"
35 #include "wtf/CheckedNumeric.h" 35 #include "wtf/CheckedNumeric.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 void CharacterData::atomize() { 39 void CharacterData::atomize() {
40 m_data = AtomicString(m_data); 40 m_data = AtomicString(m_data);
41 } 41 }
42 42
43 void CharacterData::setData(const String& data) { 43 void CharacterData::setData(const String& data) {
44 const String& nonNullData = !data.isNull() ? data : emptyString; 44 const String& nonNullData = !data.isNull() ? data : emptyString;
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 dispatchSubtreeModifiedEvent(); 216 dispatchSubtreeModifiedEvent();
217 } 217 }
218 probe::characterDataModified(this); 218 probe::characterDataModified(this);
219 } 219 }
220 220
221 int CharacterData::maxCharacterOffset() const { 221 int CharacterData::maxCharacterOffset() const {
222 return static_cast<int>(length()); 222 return static_cast<int>(length());
223 } 223 }
224 224
225 } // namespace blink 225 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp ('k') | third_party/WebKit/Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698