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

Unified Diff: sky/engine/core/css/FontFace.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/css/DOMWindowCSS.h ('k') | sky/engine/core/css/FontFaceSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/FontFace.cpp
diff --git a/sky/engine/core/css/FontFace.cpp b/sky/engine/core/css/FontFace.cpp
index 27a40cef05dade0153e8d2808b670b1ef41e40fa..fed494e1ccba0fc4838878acdb048b433414d2fa 100644
--- a/sky/engine/core/css/FontFace.cpp
+++ b/sky/engine/core/css/FontFace.cpp
@@ -126,15 +126,12 @@ PassRefPtr<FontFace> FontFace::create(Document* document, const StyleRuleFontFac
FontFace::FontFace()
: m_status(Unloaded)
{
- ScriptWrappable::init(this);
}
FontFace::FontFace(ExecutionContext* context, const AtomicString& family, const Dictionary& descriptors)
: m_family(family)
, m_status(Unloaded)
{
- ScriptWrappable::init(this);
-
Document* document = toDocument(context);
String value;
if (DictionaryHelper::get(descriptors, "style", value))
« no previous file with comments | « sky/engine/core/css/DOMWindowCSS.h ('k') | sky/engine/core/css/FontFaceSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698