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

Side by Side Diff: sky/engine/core/html/HTMLStyleElement.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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2010 Apple Inc. All rights reserved.
6 * (C) 2007 Rob Buis (buis@kde.org) 6 * (C) 2007 Rob Buis (buis@kde.org)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 19 matching lines...) Expand all
30 #include "core/events/Event.h" 30 #include "core/events/Event.h"
31 #include "core/events/EventSender.h" 31 #include "core/events/EventSender.h"
32 #include "core/dom/shadow/ShadowRoot.h" 32 #include "core/dom/shadow/ShadowRoot.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 inline HTMLStyleElement::HTMLStyleElement(Document& document, bool createdByPars er) 36 inline HTMLStyleElement::HTMLStyleElement(Document& document, bool createdByPars er)
37 : HTMLElement(HTMLNames::styleTag, document) 37 : HTMLElement(HTMLNames::styleTag, document)
38 , StyleElement(&document, createdByParser) 38 , StyleElement(&document, createdByParser)
39 { 39 {
40 ScriptWrappable::init(this);
41 } 40 }
42 41
43 HTMLStyleElement::~HTMLStyleElement() 42 HTMLStyleElement::~HTMLStyleElement()
44 { 43 {
45 #if !ENABLE(OILPAN) 44 #if !ENABLE(OILPAN)
46 StyleElement::clearDocumentData(document(), this); 45 StyleElement::clearDocumentData(document(), this);
47 #endif 46 #endif
48 } 47 }
49 48
50 PassRefPtr<HTMLStyleElement> HTMLStyleElement::create(Document& document, bool c reatedByParser) 49 PassRefPtr<HTMLStyleElement> HTMLStyleElement::create(Document& document, bool c reatedByParser)
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 return &document(); 127 return &document();
129 } 128 }
130 129
131 void HTMLStyleElement::trace(Visitor* visitor) 130 void HTMLStyleElement::trace(Visitor* visitor)
132 { 131 {
133 StyleElement::trace(visitor); 132 StyleElement::trace(visitor);
134 HTMLElement::trace(visitor); 133 HTMLElement::trace(visitor);
135 } 134 }
136 135
137 } 136 }
OLDNEW
« no previous file with comments | « sky/engine/core/html/HTMLShadowElement.cpp ('k') | sky/engine/core/html/HTMLTemplateElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698