Bug 1095754 - Miscellaneous code cleanup nits found along the way. r=me

This commit is contained in:
Jim Mathies 2015-01-29 13:41:57 -06:00
parent aa597c8906
commit d5d37f938c
5 changed files with 13 additions and 11 deletions

View File

@ -12,8 +12,6 @@
#if defined(MOZ_WIDGET_GTK)
#include "nsPluginNativeWindowGtk.h"
#else
#include "nsPluginNativeWindow.h"
#endif
using namespace mozilla;

View File

@ -64,11 +64,16 @@ public:
static bool ChildProcessHasCompositor() { return sCompositor != nullptr; }
virtual bool RecvInvalidateAll() MOZ_OVERRIDE;
virtual bool RecvOverfill(const uint32_t &aOverfill) MOZ_OVERRIDE;
void AddOverfillObserver(ClientLayerManager* aLayerManager);
virtual bool RecvDidComposite(const uint64_t& aId, const uint64_t& aTransactionId) MOZ_OVERRIDE;
virtual bool
RecvDidComposite(const uint64_t& aId, const uint64_t& aTransactionId) MOZ_OVERRIDE;
virtual bool
RecvInvalidateAll() MOZ_OVERRIDE;
virtual bool
RecvOverfill(const uint32_t &aOverfill) MOZ_OVERRIDE;
virtual bool
RecvUpdatePluginConfigurations(const nsIntPoint& aContentOffset,

View File

@ -1378,12 +1378,12 @@ class nsIWidget : public nsISupports {
* mClipRegion, all relative to the top-left of the child
* widget. Clip regions are not implemented on all platforms and only
* need to actually work for children that are plugins.
*
*
* Also sets the bounds of each child to mBounds.
*
*
* This will invalidate areas of the children that have changed, but
* does not need to invalidate any part of this widget.
*
*
* Children should be moved in the order given; the array is
* sorted so to minimize unnecessary invalidation if children are
* moved in that order.
@ -1629,7 +1629,7 @@ class nsIWidget : public nsISupports {
*/
virtual void UpdateWindowDraggingRegion(const nsIntRegion& aRegion) {}
/**
/**
* Internal methods
*/

View File

@ -329,7 +329,6 @@ copy_stderr_to_file(const char* aFile)
#endif
#if defined(XP_WIN)
void
vprintf_stderr(const char* aFmt, va_list aArgs)
{

View File

@ -53,7 +53,7 @@ HashString(const nsACString& aStr)
* nsUint32HashKey
* nsUint64HashKey
* nsFloatHashKey
* nsPtrHashkey
* nsPtrHashKey
* nsClearingPtrHashKey
* nsVoidPtrHashKey
* nsClearingVoidPtrHashKey