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

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

Issue 1921073004: [Bindings] Remove an unused parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved.
(...skipping 5778 matching lines...) Expand 10 before | Expand all | Expand 10 after
5789 5789
5790 const WrapperTypeInfo* wrapperType = wrapperTypeInfo(); 5790 const WrapperTypeInfo* wrapperType = wrapperTypeInfo();
5791 5791
5792 if (frame() && frame()->script().initializeMainWorld()) { 5792 if (frame() && frame()->script().initializeMainWorld()) {
5793 // initializeMainWorld may have created a wrapper for the object, retry from the start. 5793 // initializeMainWorld may have created a wrapper for the object, retry from the start.
5794 v8::Local<v8::Object> wrapper = DOMDataStore::getWrapper(this, isolate); 5794 v8::Local<v8::Object> wrapper = DOMDataStore::getWrapper(this, isolate);
5795 if (!wrapper.IsEmpty()) 5795 if (!wrapper.IsEmpty())
5796 return wrapper; 5796 return wrapper;
5797 } 5797 }
5798 5798
5799 v8::Local<v8::Object> wrapper = V8DOMWrapper::createWrapper(isolate, creatio nContext, wrapperType, this); 5799 v8::Local<v8::Object> wrapper = V8DOMWrapper::createWrapper(isolate, creatio nContext, wrapperType);
5800 if (UNLIKELY(wrapper.IsEmpty())) 5800 if (UNLIKELY(wrapper.IsEmpty()))
5801 return wrapper; 5801 return wrapper;
5802 5802
5803 wrapperType->installConditionallyEnabledProperties(wrapper, isolate); 5803 wrapperType->installConditionallyEnabledProperties(wrapper, isolate);
5804 return associateWithWrapper(isolate, wrapperType, wrapper); 5804 return associateWithWrapper(isolate, wrapperType, wrapper);
5805 } 5805 }
5806 5806
5807 v8::Local<v8::Object> Document::associateWithWrapper(v8::Isolate* isolate, const WrapperTypeInfo* wrapperType, v8::Local<v8::Object> wrapper) 5807 v8::Local<v8::Object> Document::associateWithWrapper(v8::Isolate* isolate, const WrapperTypeInfo* wrapperType, v8::Local<v8::Object> wrapper)
5808 { 5808 {
5809 wrapper = V8DOMWrapper::associateObjectWithWrapper(isolate, this, wrapperTyp e, wrapper); 5809 wrapper = V8DOMWrapper::associateObjectWithWrapper(isolate, this, wrapperTyp e, wrapper);
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
5952 #ifndef NDEBUG 5952 #ifndef NDEBUG
5953 using namespace blink; 5953 using namespace blink;
5954 void showLiveDocumentInstances() 5954 void showLiveDocumentInstances()
5955 { 5955 {
5956 Document::WeakDocumentSet& set = Document::liveDocumentSet(); 5956 Document::WeakDocumentSet& set = Document::liveDocumentSet();
5957 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 5957 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
5958 for (Document* document : set) 5958 for (Document* document : set)
5959 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get String().utf8().data()); 5959 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get String().utf8().data());
5960 } 5960 }
5961 #endif 5961 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.cpp ('k') | third_party/WebKit/Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698