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

Unified Diff: third_party/WebKit/Source/core/dom/Text.h

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, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Text.h
diff --git a/third_party/WebKit/Source/core/dom/Text.h b/third_party/WebKit/Source/core/dom/Text.h
index 21176770935f8142e761dc7c545bc0efb6ba4f2a..28c373341065f4afe67c8ae47e0ed8c5bd8398dd 100644
--- a/third_party/WebKit/Source/core/dom/Text.h
+++ b/third_party/WebKit/Source/core/dom/Text.h
@@ -36,20 +36,20 @@ class CORE_EXPORT Text : public CharacterData {
public:
static const unsigned defaultLengthLimit = 1 << 16;
- static PassRefPtrWillBeRawPtr<Text> create(Document&, const String&);
- static PassRefPtrWillBeRawPtr<Text> createEditingText(Document&, const String&);
+ static RawPtr<Text> create(Document&, const String&);
+ static RawPtr<Text> createEditingText(Document&, const String&);
LayoutText* layoutObject() const;
// mergeNextSiblingNodesIfPossible() merges next sibling nodes if possible
// then returns a node not merged.
- PassRefPtrWillBeRawPtr<Node> mergeNextSiblingNodesIfPossible();
- PassRefPtrWillBeRawPtr<Text> splitText(unsigned offset, ExceptionState&);
+ RawPtr<Node> mergeNextSiblingNodesIfPossible();
+ RawPtr<Text> splitText(unsigned offset, ExceptionState&);
// DOM Level 3: http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1312295772
String wholeText() const;
- PassRefPtrWillBeRawPtr<Text> replaceWholeText(const String&);
+ RawPtr<Text> replaceWholeText(const String&);
void recalcTextStyle(StyleRecalcChange, Text* nextTextSibling);
bool textLayoutObjectIsNeeded(const ComputedStyle&, const LayoutObject& parent) const;
@@ -70,13 +70,13 @@ protected:
private:
String nodeName() const override;
- PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) final;
+ RawPtr<Node> cloneNode(bool deep) final;
bool isTextNode() const = delete; // This will catch anyone doing an unnecessary check.
bool needsWhitespaceLayoutObject();
- virtual PassRefPtrWillBeRawPtr<Text> cloneWithData(const String&);
+ virtual RawPtr<Text> cloneWithData(const String&);
#ifndef NDEBUG
void formatForDebugger(char* buffer, unsigned length) const override;
« no previous file with comments | « third_party/WebKit/Source/core/dom/TemplateContentDocumentFragment.h ('k') | third_party/WebKit/Source/core/dom/Text.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698