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

Unified Diff: sky/engine/core/html/ImageData.cpp

Issue 706123005: Remove nop ScriptWrappable::init calls (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/html/HTMLTitleElement.cpp ('k') | sky/engine/core/html/TextMetrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/ImageData.cpp
diff --git a/sky/engine/core/html/ImageData.cpp b/sky/engine/core/html/ImageData.cpp
index a0fa8886b47070e223ba3c728e53978fa5a6cc00..5f38803fc4690772810e94b1205a6d0feab68f94 100644
--- a/sky/engine/core/html/ImageData.cpp
+++ b/sky/engine/core/html/ImageData.cpp
@@ -144,7 +144,6 @@ ImageData::ImageData(const IntSize& size)
: m_size(size)
, m_data(Uint8ClampedArray::create(size.width() * size.height() * 4))
{
- ScriptWrappable::init(this);
}
ImageData::ImageData(const IntSize& size, PassRefPtr<Uint8ClampedArray> byteArray)
@@ -152,7 +151,6 @@ ImageData::ImageData(const IntSize& size, PassRefPtr<Uint8ClampedArray> byteArra
, m_data(byteArray)
{
ASSERT_WITH_SECURITY_IMPLICATION(static_cast<unsigned>(size.width() * size.height() * 4) <= m_data->length());
- ScriptWrappable::init(this);
}
}
« no previous file with comments | « sky/engine/core/html/HTMLTitleElement.cpp ('k') | sky/engine/core/html/TextMetrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698