 Chromium Code Reviews
 Chromium Code Reviews Issue 340763003:
  Change [ConstructorCallWith={Document => ExecutionContext}]  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master
    
  
    Issue 340763003:
  Change [ConstructorCallWith={Document => ExecutionContext}]  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master| Index: Source/core/dom/Range.h | 
| diff --git a/Source/core/dom/Range.h b/Source/core/dom/Range.h | 
| index f8284d847de06826ec054a3714f95e375b0dfd7b..574c424d3be9f73f4032e5f054ae59c9bd5c9026 100644 | 
| --- a/Source/core/dom/Range.h | 
| +++ b/Source/core/dom/Range.h | 
| @@ -49,9 +49,9 @@ class Text; | 
| class Range FINAL : public RefCountedWillBeGarbageCollectedFinalized<Range>, public ScriptWrappable { | 
| public: | 
| - static PassRefPtrWillBeRawPtr<Range> create(Document&); | 
| - static PassRefPtrWillBeRawPtr<Range> create(Document&, Node* startContainer, int startOffset, Node* endContainer, int endOffset); | 
| - static PassRefPtrWillBeRawPtr<Range> create(Document&, const Position&, const Position&); | 
| + static PassRefPtrWillBeRawPtr<Range> create(ExecutionContext*); | 
| + static PassRefPtrWillBeRawPtr<Range> create(ExecutionContext*, Node* startContainer, int startOffset, Node* endContainer, int endOffset); | 
| 
Jens Widell
2014/06/18 12:53:29
This overload and the next are not used from gener
 | 
| + static PassRefPtrWillBeRawPtr<Range> create(ExecutionContext*, const Position&, const Position&); | 
| ~Range(); | 
| Document& ownerDocument() const { ASSERT(m_ownerDocument); return *m_ownerDocument.get(); } |