Commit 106345c3 authored by haraken@chromium.org's avatar haraken@chromium.org

ASSERT(!m_referencedNodes.size()) in AudioContext's destructor should be enabled in oilpan builds

Given that we clear the m_referencedNodes in AudioContext::uninitialize(),
the m_referencedNodes should be empty in both oilpan builds and non-oilpan builds.

BUG=340522

Review URL: https://codereview.chromium.org/475373002

git-svn-id: svn://svn.chromium.org/blink/trunk@180423 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 3cf00756
...@@ -165,8 +165,8 @@ AudioContext::~AudioContext() ...@@ -165,8 +165,8 @@ AudioContext::~AudioContext()
ASSERT(!m_isInitialized); ASSERT(!m_isInitialized);
#if !ENABLE(OILPAN) #if !ENABLE(OILPAN)
ASSERT(!m_nodesToDelete.size()); ASSERT(!m_nodesToDelete.size());
ASSERT(!m_referencedNodes.size());
#endif #endif
ASSERT(!m_referencedNodes.size());
ASSERT(!m_finishedNodes.size()); ASSERT(!m_finishedNodes.size());
ASSERT(!m_automaticPullNodes.size()); ASSERT(!m_automaticPullNodes.size());
if (m_automaticPullNodesNeedUpdating) if (m_automaticPullNodesNeedUpdating)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment