summaryrefslogtreecommitdiff
path: root/Source/WebKit2/Shared/SandboxExtension.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Shared/SandboxExtension.h')
-rw-r--r--Source/WebKit2/Shared/SandboxExtension.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit2/Shared/SandboxExtension.h b/Source/WebKit2/Shared/SandboxExtension.h
index e076bc111..4fdb1ed63 100644
--- a/Source/WebKit2/Shared/SandboxExtension.h
+++ b/Source/WebKit2/Shared/SandboxExtension.h
@@ -84,10 +84,10 @@ public:
private:
#if ENABLE(WEB_PROCESS_SANDBOX)
Handle* m_data;
+ size_t m_size;
#else
Handle m_emptyHandle;
#endif
- size_t m_size;
};
static PassRefPtr<SandboxExtension> create(const Handle&);
@@ -127,7 +127,7 @@ inline bool SandboxExtension::HandleArray::decode(CoreIPC::ArgumentDecoder*, Han
inline PassRefPtr<SandboxExtension> SandboxExtension::create(const Handle&) { return 0; }
inline void SandboxExtension::createHandle(const String&, Type, Handle&) { }
inline void SandboxExtension::createHandleForReadWriteDirectory(const String&, Handle&) { }
-inline String SandboxExtension::createHandleForTemporaryFile(const String& prefix, Type type, Handle&) {return String();}
+inline String SandboxExtension::createHandleForTemporaryFile(const String& /*prefix*/, Type, Handle&) {return String();}
inline SandboxExtension::~SandboxExtension() { }
inline bool SandboxExtension::invalidate() { return true; }
inline bool SandboxExtension::consume() { return true; }