projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
Source
/
core
/
plugins
/
DOMMimeTypeArray.h
diff --git
a/src/third_party/WebKit/Source/core/plugins/DOMMimeTypeArray.h
b/src/third_party/WebKit/Source/core/plugins/DOMMimeTypeArray.h
index
e72edd4
..
e65562b
100644
(file)
--- a/
src/third_party/WebKit/Source/core/plugins/DOMMimeTypeArray.h
+++ b/
src/third_party/WebKit/Source/core/plugins/DOMMimeTypeArray.h
@@
-24,6
+24,7
@@
#include "bindings/v8/ScriptWrappable.h"
#include "core/frame/DOMWindowProperty.h"
#include "core/plugins/DOMMimeType.h"
#include "bindings/v8/ScriptWrappable.h"
#include "core/frame/DOMWindowProperty.h"
#include "core/plugins/DOMMimeType.h"
+#include "heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@
-34,15
+35,21
@@
namespace WebCore {
class Frame;
class PluginData;
class Frame;
class PluginData;
-class DOMMimeTypeArray FINAL : public ScriptWrappable, public RefCounted<DOMMimeTypeArray>, public DOMWindowProperty {
+class DOMMimeTypeArray FINAL : public RefCountedWillBeGarbageCollectedFinalized<DOMMimeTypeArray>, public ScriptWrappable, public DOMWindowProperty {
+ DECLARE_GC_INFO;
public:
public:
- static PassRefPtr<DOMMimeTypeArray> create(Frame* frame) { return adoptRef(new DOMMimeTypeArray(frame)); }
+ static PassRefPtrWillBeRawPtr<DOMMimeTypeArray> create(Frame* frame)
+ {
+ return adoptRefWillBeNoop(new DOMMimeTypeArray(frame));
+ }
virtual ~DOMMimeTypeArray();
unsigned length() const;
virtual ~DOMMimeTypeArray();
unsigned length() const;
- PassRefPtr<DOMMimeType> item(unsigned index);
+ PassRefPtr
WillBeRawPtr
<DOMMimeType> item(unsigned index);
bool canGetItemsForName(const AtomicString& propertyName);
bool canGetItemsForName(const AtomicString& propertyName);
- PassRefPtr<DOMMimeType> namedItem(const AtomicString& propertyName);
+ PassRefPtrWillBeRawPtr<DOMMimeType> namedItem(const AtomicString& propertyName);
+
+ void trace(Visitor*) { }
private:
explicit DOMMimeTypeArray(Frame*);
private:
explicit DOMMimeTypeArray(Frame*);