summaryrefslogtreecommitdiffstats
path: root/webkit/pending
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-26 20:28:31 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-26 20:28:31 +0000
commit3f2663b6812fa4eccd8b42353646e5d0d2d7cc1d (patch)
tree2d16f5c59ad6f28a320a8efb038ec56448edd43a /webkit/pending
parentc51e8e45ae185c0232216aef4f7d924a87264cf4 (diff)
downloadchromium_src-3f2663b6812fa4eccd8b42353646e5d0d2d7cc1d.zip
chromium_src-3f2663b6812fa4eccd8b42353646e5d0d2d7cc1d.tar.gz
chromium_src-3f2663b6812fa4eccd8b42353646e5d0d2d7cc1d.tar.bz2
mac-only changes to get shared data buffer for the pasteboard. I don't know why this was removed from our version, but mac needs it.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/pending')
-rw-r--r--webkit/pending/CachedResource.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/pending/CachedResource.h b/webkit/pending/CachedResource.h
index c0f4cab..1d025ae 100644
--- a/webkit/pending/CachedResource.h
+++ b/webkit/pending/CachedResource.h
@@ -133,6 +133,10 @@ public:
virtual void destroyDecodedData() {};
void setDocLoader(DocLoader* docLoader) { m_docLoader = docLoader; }
+
+#if PLATFORM(MAC)
+ SharedBuffer* data() const { return m_data.get(); }
+#endif
protected:
void setEncodedSize(unsigned);