| Index: third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/HitTestResult.cpp b/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| index f568e2ba2e574d5a45f1f8d195dbfa31996f90e9..7897e51ff84bb6304e0979ed4e866c4ad867c079 100644
|
| --- a/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/HitTestResult.cpp
|
| @@ -96,7 +96,7 @@ HitTestResult::HitTestResult(const HitTestResult& other)
|
| , m_isOverWidget(other.isOverWidget())
|
| {
|
| // Only copy the NodeSet in case of list hit test.
|
| - m_listBasedTestResult = adoptPtrWillBeNoop(other.m_listBasedTestResult ? new NodeSet(*other.m_listBasedTestResult) : 0);
|
| + m_listBasedTestResult = (other.m_listBasedTestResult ? new NodeSet(*other.m_listBasedTestResult) : 0);
|
| }
|
|
|
| HitTestResult::~HitTestResult()
|
| @@ -142,7 +142,7 @@ void HitTestResult::populateFromCachedResult(const HitTestResult& other)
|
| m_cacheable = other.m_cacheable;
|
|
|
| // Only copy the NodeSet in case of list hit test.
|
| - m_listBasedTestResult = adoptPtrWillBeNoop(other.m_listBasedTestResult ? new NodeSet(*other.m_listBasedTestResult) : 0);
|
| + m_listBasedTestResult = (other.m_listBasedTestResult ? new NodeSet(*other.m_listBasedTestResult) : 0);
|
| }
|
|
|
| DEFINE_TRACE(HitTestResult)
|
| @@ -492,14 +492,14 @@ void HitTestResult::append(const HitTestResult& other)
|
| const HitTestResult::NodeSet& HitTestResult::listBasedTestResult() const
|
| {
|
| if (!m_listBasedTestResult)
|
| - m_listBasedTestResult = adoptPtrWillBeNoop(new NodeSet);
|
| + m_listBasedTestResult = (new NodeSet);
|
| return *m_listBasedTestResult;
|
| }
|
|
|
| HitTestResult::NodeSet& HitTestResult::mutableListBasedTestResult()
|
| {
|
| if (!m_listBasedTestResult)
|
| - m_listBasedTestResult = adoptPtrWillBeNoop(new NodeSet);
|
| + m_listBasedTestResult = (new NodeSet);
|
| return *m_listBasedTestResult;
|
| }
|
|
|
|
|