mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1095754 - Miscellaneous code cleanup nits found along the way. r=me
This commit is contained in:
parent
aa597c8906
commit
d5d37f938c
@ -12,8 +12,6 @@
|
||||
|
||||
#if defined(MOZ_WIDGET_GTK)
|
||||
#include "nsPluginNativeWindowGtk.h"
|
||||
#else
|
||||
#include "nsPluginNativeWindow.h"
|
||||
#endif
|
||||
|
||||
using namespace mozilla;
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
*/
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -53,7 +53,7 @@ HashString(const nsACString& aStr)
|
||||
* nsUint32HashKey
|
||||
* nsUint64HashKey
|
||||
* nsFloatHashKey
|
||||
* nsPtrHashkey
|
||||
* nsPtrHashKey
|
||||
* nsClearingPtrHashKey
|
||||
* nsVoidPtrHashKey
|
||||
* nsClearingVoidPtrHashKey
|
||||
|
Loading…
Reference in New Issue
Block a user