Commit 4f9979df authored by ddkilzer@apple.com's avatar ddkilzer@apple.com

BUILD FIX (r39641): Try to fix WebIconDatabase build errors #4

        * WebIconDatabase.cpp:
        (WebIconDatabase::isEnabled): Added 'WebIconDatabase::' to method
        signature.  (Another copy-paste error.)
        (WebIconDatabase::setEnabled): Ditto.
        * WebIconDatabase.h:
        (WebIconDatabase::startUpIconDatabase): Make private again.
        (WebIconDatabase::shutDownIconDatabase): Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f2f5f6c3
2009-01-06 David Kilzer <ddkilzer@apple.com>
BUILD FIX (r39641): Try to fix WebIconDatabase build errors #4
* WebIconDatabase.cpp:
(WebIconDatabase::isEnabled): Added 'WebIconDatabase::' to method
signature. (Another copy-paste error.)
(WebIconDatabase::setEnabled): Ditto.
* WebIconDatabase.h:
(WebIconDatabase::startUpIconDatabase): Make private again.
(WebIconDatabase::shutDownIconDatabase): Ditto.
2009-01-06 David Kilzer <ddkilzer@apple.com>
BUILD FIX (r39641): Try to fix build errors #3
......
......@@ -238,24 +238,24 @@ HRESULT STDMETHODCALLTYPE WebIconDatabase::iconURLForURL(
return S_OK;
}
HRESULT STDMETHODCALLTYPE isEnabled(
HRESULT STDMETHODCALLTYPE WebIconDatabase::isEnabled(
/* [retval][out] */ BOOL *result)
{
*result = iconDatabase()->isEnabled();
return S_OK;
}
HRESULT STDMETHODCALLTYPE setEnabled(
HRESULT STDMETHODCALLTYPE WebIconDatabase::setEnabled(
/* [in] */ BOOL flag)
{
BOOL currentlyEnabled;
isEnabled(&currentlyEnabled);
if (currentlyEnabled && !flag) {
iconDatabase()->setEnabled(false);
sharedWebIconDatabase()->shutDownIconDatabase();
shutDownIconDatabase();
} else if (!currentlyEnabled && flag) {
iconDatabase()->setEnabled(true);
sharedWebIconDatabase()->startUpIconDatabase();
startUpIconDatabase();
}
return S_OK;
}
......
......@@ -57,7 +57,6 @@ private:
WebIconDatabase();
~WebIconDatabase();
void init();
protected:
void startUpIconDatabase();
void shutDownIconDatabase();
public:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment