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

Unified Diff: public/platform/WebImage.h

Issue 457353002: Cleanup namespace usage in public/platform/Web[A-M]*.h. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months 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 | « public/platform/WebIDBMetadata.h ('k') | public/platform/WebLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebImage.h
diff --git a/public/platform/WebImage.h b/public/platform/WebImage.h
index 122faef21510758604d13a4150efca84d910fc68..1c7c5db1d5ec35c0f1bd2a473b33dfbe1e890053 100644
--- a/public/platform/WebImage.h
+++ b/public/platform/WebImage.h
@@ -37,12 +37,12 @@
#include "third_party/skia/include/core/SkBitmap.h"
#if INSIDE_BLINK
-namespace blink { class Image; }
namespace WTF { template <typename T> class PassRefPtr; }
#endif
namespace blink {
+class Image;
class WebData;
struct WebSize;
@@ -80,8 +80,8 @@ public:
BLINK_PLATFORM_EXPORT WebSize size() const;
#if INSIDE_BLINK
- BLINK_PLATFORM_EXPORT WebImage(const WTF::PassRefPtr<blink::Image>&);
- BLINK_PLATFORM_EXPORT WebImage& operator=(const WTF::PassRefPtr<blink::Image>&);
+ BLINK_PLATFORM_EXPORT WebImage(const WTF::PassRefPtr<Image>&);
+ BLINK_PLATFORM_EXPORT WebImage& operator=(const WTF::PassRefPtr<Image>&);
#endif
WebImage(const SkBitmap& bitmap) : m_bitmap(bitmap) { }
@@ -98,7 +98,6 @@ public:
private:
void init() { }
SkBitmap m_bitmap;
-
};
} // namespace blink
« no previous file with comments | « public/platform/WebIDBMetadata.h ('k') | public/platform/WebLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698