| Index: Source/core/inspector/DOMEditor.cpp
|
| diff --git a/Source/core/inspector/DOMEditor.cpp b/Source/core/inspector/DOMEditor.cpp
|
| index 24a80153d91cdfc156882f200dc12bf09143d527..b62682e8fe0036dce8d8dce6b7a5fbb54b841418 100644
|
| --- a/Source/core/inspector/DOMEditor.cpp
|
| +++ b/Source/core/inspector/DOMEditor.cpp
|
| @@ -305,13 +305,17 @@ public:
|
|
|
| virtual bool undo(ExceptionState& exceptionState) OVERRIDE
|
| {
|
| - m_parentNode->replaceChild(m_oldNode, m_newNode.get(), exceptionState);
|
| + // FIXME: Oilpan: The first .get() is unnecessary if m_oldNode is a
|
| + // Persistent or a Member.
|
| + m_parentNode->replaceChild(m_oldNode.get(), m_newNode.get(), exceptionState);
|
| return !exceptionState.hadException();
|
| }
|
|
|
| virtual bool redo(ExceptionState& exceptionState) OVERRIDE
|
| {
|
| - m_parentNode->replaceChild(m_newNode, m_oldNode.get(), exceptionState);
|
| + // FIXME: Oilpan: The first .get() is unnecessary if m_newNode is a
|
| + // Persistent or a Member.
|
| + m_parentNode->replaceChild(m_newNode.get(), m_oldNode.get(), exceptionState);
|
| return !exceptionState.hadException();
|
| }
|
|
|
|
|