Skip to content
Permalink
Browse files
Change function name InitializeLoggingChannelsIfNecessary to follow c…
…oding style guideline

https://bugs.webkit.org/show_bug.cgi?id=73986

Patch by Mary Wu <mary.wu@torchmobile.com.cn> on 2011-12-07
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Just function name change, no new tests.

* platform/Logging.h:
* platform/efl/LoggingEfl.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/gtk/LoggingGtk.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/mac/LoggingMac.mm:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/qt/LoggingQt.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/win/LoggingWin.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/wx/LoggingWx.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):

Source/WebKit/efl:

* ewk/ewk_main.cpp:
(_ewk_init_body):

Source/WebKit/gtk:

* webkit/webkitglobals.cpp:
(webkitInit):

Source/WebKit/mac:

* WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):

Source/WebKit/qt:

* WebCoreSupport/InitWebCoreQt.cpp:
(WebCore::initializeWebCoreQt):

Source/WebKit/win:

* WebView.cpp:
(WebView::initWithFrame):

Source/WebKit/wx:

* WebView.cpp:
(wxWebView::Create):

Source/WebKit2:

* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::WebProcess):

Canonical link: https://commits.webkit.org/90667@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Mary Wu authored and webkit-commit-queue committed Dec 7, 2011
1 parent 0dc31f4 commit 3f0b5ac575afe78a999ee9b5cf941ea213cf2fce
Showing 24 changed files with 111 additions and 16 deletions.
@@ -1,3 +1,26 @@
2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>

Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
https://bugs.webkit.org/show_bug.cgi?id=73986

Reviewed by Kenneth Rohde Christiansen.

Just function name change, no new tests.

* platform/Logging.h:
* platform/efl/LoggingEfl.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/gtk/LoggingGtk.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/mac/LoggingMac.mm:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/qt/LoggingQt.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/win/LoggingWin.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/wx/LoggingWx.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):

2011-12-07 Mihnea Ovidenie <mihnea@adobe.com>

[CSSRegions]Add support for background-color in region styling
@@ -60,7 +60,7 @@ namespace WebCore {
extern WTFLogChannel LogProgress;
extern WTFLogChannel LogFileAPI;

void InitializeLoggingChannelsIfNecessary();
void initializeLoggingChannelsIfNecessary();
WTFLogChannel* getChannelFromName(const String& channelName);
}

@@ -29,7 +29,7 @@ static inline void initializeWithUserDefault(WTFLogChannel& channel, bool enable
channel.state = WTFLogChannelOff;
}

void InitializeLoggingChannelsIfNecessary()
void initializeLoggingChannelsIfNecessary()
{
static bool haveInitializedLoggingChannels = false;
if (haveInitializedLoggingChannels)
@@ -28,7 +28,7 @@

namespace WebCore {

void InitializeLoggingChannelsIfNecessary()
void initializeLoggingChannelsIfNecessary()
{
static bool didInitializeLoggingChannels = false;
if (didInitializeLoggingChannels)
@@ -29,7 +29,7 @@ namespace WebCore {

// Inspired by the code used by the Qt port

void InitializeLoggingChannelsIfNecessary()
void initializeLoggingChannelsIfNecessary()
{
static bool didInitializeLoggingChannels = false;
if (didInitializeLoggingChannels)
@@ -43,7 +43,7 @@ static inline void initializeWithUserDefault(WTFLogChannel& channel)
}
}

void InitializeLoggingChannelsIfNecessary()
void initializeLoggingChannelsIfNecessary()
{
static bool haveInitializedLoggingChannels = false;
if (haveInitializedLoggingChannels)
@@ -26,7 +26,7 @@

namespace WebCore {

void InitializeLoggingChannelsIfNecessary()
void initializeLoggingChannelsIfNecessary()
{
static bool haveInitializedLoggingChannels = false;
if (haveInitializedLoggingChannels)
@@ -68,7 +68,7 @@ static inline void initializeWithUserDefault(WTFLogChannel& channel)
channel.state = WTFLogChannelOff;
}

void InitializeLoggingChannelsIfNecessary()
void initializeLoggingChannelsIfNecessary()
{
static bool haveInitializedLoggingChannels = false;
if (haveInitializedLoggingChannels)
@@ -35,7 +35,7 @@

namespace WebCore {

void InitializeLoggingChannelsIfNecessary()
void initializeLoggingChannelsIfNecessary()
{
static bool haveInitializedLoggingChannels = false;
if (haveInitializedLoggingChannels)
@@ -1,3 +1,13 @@
2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>

Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
https://bugs.webkit.org/show_bug.cgi?id=73986

Reviewed by Kenneth Rohde Christiansen.

* ewk/ewk_main.cpp:
(_ewk_init_body):

2011-12-05 Raphael Kubo da Costa <kubo@profusion.mobi>

[EFL] Do not lose message flags when converting to/from Soup Requests/Responses
@@ -160,7 +160,7 @@ Eina_Bool _ewk_init_body(void)
#endif

WebCore::ScriptController::initializeThreading();
WebCore::InitializeLoggingChannelsIfNecessary();
WebCore::initializeLoggingChannelsIfNecessary();
WebCore::Settings::setDefaultMinDOMTimerInterval(0.004);

// Page cache capacity (in pages). Comment from Mac port:
@@ -1,3 +1,13 @@
2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>

Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
https://bugs.webkit.org/show_bug.cgi?id=73986

Reviewed by Kenneth Rohde Christiansen.

* webkit/webkitglobals.cpp:
(webkitInit):

2011-12-05 Mario Sanchez Prada <msanchez@igalia.com>

[GTK] Move emissions of AtkDocument signals down to WebCore
@@ -310,7 +310,7 @@ void webkitInit()
JSC::initializeThreading();
WTF::initializeMainThread();

WebCore::InitializeLoggingChannelsIfNecessary();
WebCore::initializeLoggingChannelsIfNecessary();

// We make sure the text codecs have been initialized, because
// that may only be done by the main thread.
@@ -1,3 +1,13 @@
2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>

Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
https://bugs.webkit.org/show_bug.cgi?id=73986

Reviewed by Kenneth Rohde Christiansen.

* WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):

2011-12-06 Alexey Proskuryakov <ap@apple.com>

REGRESSION (WebKit2): Kill ring is not cleared when selection changes
@@ -714,7 +714,7 @@ - (void)_commonInitializationWithFrameName:(NSString *)frameName groupName:(NSSt
static bool didOneTimeInitialization = false;
if (!didOneTimeInitialization) {
WebKitInitializeLoggingChannelsIfNecessary();
WebCore::InitializeLoggingChannelsIfNecessary();
WebCore::initializeLoggingChannelsIfNecessary();
[WebHistoryItem initWindowWatcherIfNecessary];
#if ENABLE(SQL_DATABASE)
WebKitInitializeDatabasesIfNecessary();
@@ -1,3 +1,13 @@
2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>

Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
https://bugs.webkit.org/show_bug.cgi?id=73986

Reviewed by Kenneth Rohde Christiansen.

* WebCoreSupport/InitWebCoreQt.cpp:
(WebCore::initializeWebCoreQt):

2011-12-06 Zeno Albisser <zeno@webkit.org>

[Qt][Mac] Building debug version only fails.
@@ -51,7 +51,7 @@ void initializeWebCoreQt()
if (initialized)
return;

WebCore::InitializeLoggingChannelsIfNecessary();
WebCore::initializeLoggingChannelsIfNecessary();
ScriptController::initializeThreading();
WTF::initializeMainThread();
WebCore::SecurityPolicy::setLocalLoadPolicy(WebCore::SecurityPolicy::AllowLocalLoadsForLocalAndSubstituteData);
@@ -1,3 +1,13 @@
2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>

Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
https://bugs.webkit.org/show_bug.cgi?id=73986

Reviewed by Kenneth Rohde Christiansen.

* WebView.cpp:
(WebView::initWithFrame):

2011-12-05 Eric Carlson <eric.carlson@apple.com>

WebKit/mac part of: Add WebKit preferences for text track settings
@@ -2622,7 +2622,7 @@ HRESULT STDMETHODCALLTYPE WebView::initWithFrame(

static bool didOneTimeInitialization;
if (!didOneTimeInitialization) {
InitializeLoggingChannelsIfNecessary();
initializeLoggingChannelsIfNecessary();
#if ENABLE(SQL_DATABASE)
WebKitInitializeWebDatabasesIfNecessary();
#endif
@@ -1,3 +1,13 @@
2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>

Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
https://bugs.webkit.org/show_bug.cgi?id=73986

Reviewed by Kenneth Rohde Christiansen.

* WebView.cpp:
(wxWebView::Create):

2011-12-02 Kevin Ollivier <kevino@theolliviers.com>

[wx] Unreviewed build fixes for Windows build.
@@ -387,7 +387,7 @@ bool wxWebView::Create(wxWindow* parent, int id, const wxPoint& position,

m_impl = new WebViewPrivate();

WebCore::InitializeLoggingChannelsIfNecessary();
WebCore::initializeLoggingChannelsIfNecessary();
WebCore::HTMLFrameOwnerElement* parentFrame = 0;

WebCore::EditorClientWx* editorClient = new WebCore::EditorClientWx();
@@ -1,3 +1,15 @@
2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>

Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
https://bugs.webkit.org/show_bug.cgi?id=73986

Reviewed by Kenneth Rohde Christiansen.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::WebProcess):

2011-12-07 Zalan Bujtas <zbujtas@gmail.com>

[Qt][WK2] Enable page cache.
@@ -149,7 +149,7 @@ WebContext::WebContext(ProcessModel processModel, const String& injectedBundlePa

addLanguageChangeObserver(this, languageChanged);

WebCore::InitializeLoggingChannelsIfNecessary();
WebCore::initializeLoggingChannelsIfNecessary();

#ifndef NDEBUG
webContextCounter.increment();
@@ -154,7 +154,7 @@ WebProcess::WebProcess()
WebPlatformStrategies::initialize();
#endif // USE(PLATFORM_STRATEGIES)

WebCore::InitializeLoggingChannelsIfNecessary();
WebCore::initializeLoggingChannelsIfNecessary();
}

void WebProcess::initialize(CoreIPC::Connection::Identifier serverIdentifier, RunLoop* runLoop)

0 comments on commit 3f0b5ac

Please sign in to comment.