svnno****@sourc*****
svnno****@sourc*****
Tue Feb 19 15:32:35 JST 2008
Revision: 3359 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3359 Author: ikezoe Date: 2008-02-19 15:32:32 +0900 (Tue, 19 Feb 2008) Log Message: ----------- 2008-02-19 Hiroyuki Ikezoe <poinc****@ikezo*****> * module/embed/gecko/gtkmozembed/EmbedWindow.cpp, module/embed/gecko/gtkmozembed/EmbedProgress.cpp: Use static_cast instead of NS_STATIC_CAST. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/module/embed/gecko/gtkmozembed/EmbedProgress.cpp kazehakase/trunk/module/embed/gecko/gtkmozembed/EmbedWindow.cpp Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2008-02-07 07:41:55 UTC (rev 3358) +++ kazehakase/trunk/ChangeLog 2008-02-19 06:32:32 UTC (rev 3359) @@ -1,3 +1,9 @@ +2008-02-19 Hiroyuki Ikezoe <poinc****@ikezo*****> + + * module/embed/gecko/gtkmozembed/EmbedWindow.cpp, + module/embed/gecko/gtkmozembed/EmbedProgress.cpp: Use static_cast + instead of NS_STATIC_CAST. + 2008-02-07 Kouhei Sutou <kou****@cozmi*****> * src/kz-tab-label.c (realize): initialized allow javascript. Modified: kazehakase/trunk/module/embed/gecko/gtkmozembed/EmbedProgress.cpp =================================================================== --- kazehakase/trunk/module/embed/gecko/gtkmozembed/EmbedProgress.cpp 2008-02-07 07:41:55 UTC (rev 3358) +++ kazehakase/trunk/module/embed/gecko/gtkmozembed/EmbedProgress.cpp 2008-02-19 06:32:32 UTC (rev 3359) @@ -183,9 +183,9 @@ g_signal_emit(G_OBJECT(mOwner->mOwningWidget), moz_embed_signals[STATUS_CHANGE], 0, - NS_STATIC_CAST(void *, aRequest), - NS_STATIC_CAST(int, aStatus), - NS_STATIC_CAST(void *, tmpString)); + static_cast<void *>(aRequest), + static_cast<int>(aStatus), + static_cast<void *>(tmpString)); nsMemory::Free(tmpString); @@ -199,7 +199,7 @@ { g_signal_emit(G_OBJECT(mOwner->mOwningWidget), moz_embed_signals[SECURITY_CHANGE], 0, - NS_STATIC_CAST(void *, aRequest), + static_cast<void *>(aRequest), aState); return NS_OK; } Modified: kazehakase/trunk/module/embed/gecko/gtkmozembed/EmbedWindow.cpp =================================================================== --- kazehakase/trunk/module/embed/gecko/gtkmozembed/EmbedWindow.cpp 2008-02-07 07:41:55 UTC (rev 3358) +++ kazehakase/trunk/module/embed/gecko/gtkmozembed/EmbedWindow.cpp 2008-02-19 06:32:32 UTC (rev 3359) @@ -57,7 +57,7 @@ if (!mWebBrowser) return NS_ERROR_FAILURE; - mWebBrowser->SetContainerWindow(NS_STATIC_CAST(nsIWebBrowserChrome *, this)); + mWebBrowser->SetContainerWindow(static_cast<nsIWebBrowserChrome *>(this)); nsCOMPtr<nsIDocShellTreeItem> item = do_QueryInterface(mWebBrowser); item->SetItemType(nsIDocShellTreeItem::typeContentWrapper); @@ -316,7 +316,7 @@ EmbedWindow::GetSiteWindow(void **aSiteWindow) { GtkWidget *ownerAsWidget (GTK_WIDGET(mOwner->mOwningWidget)); - *aSiteWindow = NS_STATIC_CAST(void *, ownerAsWidget); + *aSiteWindow = static_cast<void *>(ownerAsWidget); return NS_OK; }