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

Side by Side Diff: Source/core/dom/EmptyNodeList.cpp

Issue 161083002: Make NodeList::ownerNode() virtual and rename to virtualOwnerNode() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reupload Created 6 years, 10 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) 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2013 Apple Inc. All rights reserved.
3 * Copyright (C) 2014 Samsung Electronics. All rights reserved. 3 * Copyright (C) 2014 Samsung Electronics. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 24 matching lines...) Expand all
35 #include "core/dom/Node.h" 35 #include "core/dom/Node.h"
36 #include "core/dom/NodeRareData.h" 36 #include "core/dom/NodeRareData.h"
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 EmptyNodeList::~EmptyNodeList() 40 EmptyNodeList::~EmptyNodeList()
41 { 41 {
42 m_owner->nodeLists()->removeEmptyChildNodeList(this); 42 m_owner->nodeLists()->removeEmptyChildNodeList(this);
43 } 43 }
44 44
45 Node* EmptyNodeList::virtualOwnerNode() const
46 {
47 return ownerNode();
48 }
49
45 } // namespace WebCore 50 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698