Chromium Code Reviews| Index: public/web/WebBlob.h |
| diff --git a/public/web/WebBlob.h b/public/web/WebBlob.h |
| index 07d39844f80e8d75cd1818fc385397b6bd03a1fd..5088bb185054d95134ee0bbed14700830f81abf4 100644 |
| --- a/public/web/WebBlob.h |
| +++ b/public/web/WebBlob.h |
| @@ -37,6 +37,10 @@ |
| #include "public/platform/WebString.h" |
| #include "public/platform/WebURL.h" |
| +#if INSIDE_BLINK |
| +#include "heap/Handle.h" |
| +#endif |
| + |
| namespace v8 { |
| class Value; |
| template <class T> class Handle; |
| @@ -70,9 +74,9 @@ public: |
| BLINK_EXPORT v8::Handle<v8::Value> toV8Value(); |
| #if BLINK_IMPLEMENTATION |
| - WebBlob(const WTF::PassRefPtr<WebCore::Blob>&); |
| - WebBlob& operator=(const WTF::PassRefPtr<WebCore::Blob>&); |
| - operator WTF::PassRefPtr<WebCore::Blob>() const; |
| + explicit WebBlob(const PassRefPtrWillBeRawPtr<WebCore::Blob>&); |
| + WebBlob& operator=(const PassRefPtrWillBeRawPtr<WebCore::Blob>&); |
| + operator PassRefPtrWillBeRawPtr<WebCore::Blob>() const; |
|
haraken
2014/02/24 13:49:14
Shall we remove the implicit conversion and instea
sof
2014/02/24 17:09:09
It isn't used, so I dropped it instead.
|
| #endif |
| protected: |