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

Side by Side Diff: third_party/WebKit/Source/core/dom/Node.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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 2279 matching lines...) Expand 10 before | Expand all | Expand 10 after
2290 ASSERT_NOT_REACHED(); 2290 ASSERT_NOT_REACHED();
2291 return 0; 2291 return 0;
2292 } 2292 }
2293 2293
2294 v8::Local<v8::Object> Node::wrap(v8::Isolate* isolate, v8::Local<v8::Object> cre ationContext) 2294 v8::Local<v8::Object> Node::wrap(v8::Isolate* isolate, v8::Local<v8::Object> cre ationContext)
2295 { 2295 {
2296 DCHECK(!DOMDataStore::containsWrapper(this, isolate)); 2296 DCHECK(!DOMDataStore::containsWrapper(this, isolate));
2297 2297
2298 const WrapperTypeInfo* wrapperType = wrapperTypeInfo(); 2298 const WrapperTypeInfo* wrapperType = wrapperTypeInfo();
2299 2299
2300 v8::Local<v8::Object> wrapper = V8DOMWrapper::createWrapper(isolate, creatio nContext, wrapperType, this); 2300 v8::Local<v8::Object> wrapper = V8DOMWrapper::createWrapper(isolate, creatio nContext, wrapperType);
2301 if (UNLIKELY(wrapper.IsEmpty())) 2301 if (UNLIKELY(wrapper.IsEmpty()))
2302 return wrapper; 2302 return wrapper;
2303 2303
2304 wrapperType->installConditionallyEnabledProperties(wrapper, isolate); 2304 wrapperType->installConditionallyEnabledProperties(wrapper, isolate);
2305 return associateWithWrapper(isolate, wrapperType, wrapper); 2305 return associateWithWrapper(isolate, wrapperType, wrapper);
2306 } 2306 }
2307 2307
2308 v8::Local<v8::Object> Node::associateWithWrapper(v8::Isolate* isolate, const Wra pperTypeInfo* wrapperType, v8::Local<v8::Object> wrapper) 2308 v8::Local<v8::Object> Node::associateWithWrapper(v8::Isolate* isolate, const Wra pperTypeInfo* wrapperType, v8::Local<v8::Object> wrapper)
2309 { 2309 {
2310 return V8DOMWrapper::associateObjectWithWrapper(isolate, this, wrapperType, wrapper); 2310 return V8DOMWrapper::associateObjectWithWrapper(isolate, this, wrapperType, wrapper);
(...skipping 21 matching lines...) Expand all
2332 2332
2333 void showNodePath(const blink::Node* node) 2333 void showNodePath(const blink::Node* node)
2334 { 2334 {
2335 if (node) 2335 if (node)
2336 node->showNodePathForThis(); 2336 node->showNodePathForThis();
2337 else 2337 else
2338 fprintf(stderr, "Cannot showNodePath for (nil)\n"); 2338 fprintf(stderr, "Cannot showNodePath for (nil)\n");
2339 } 2339 }
2340 2340
2341 #endif 2341 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698