Skip to content

Commit

Permalink
Fixed static compilation assert on desktop builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeshkova committed Jul 10, 2014
1 parent f24e2a5 commit e5ce4ee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions embedding/embedlite/embedthread/EmbedLiteAppThreadChild.h
Expand Up @@ -24,8 +24,6 @@ class EmbedLiteAppThreadChild : public PEmbedLiteAppChild,
NS_DECL_NSIOBSERVER

EmbedLiteAppThreadChild(MessageLoop* aParentLoop);
virtual ~EmbedLiteAppThreadChild();

void Init(MessageChannel* aParentChannel);
static EmbedLiteAppThreadChild* GetInstance();
EmbedLiteViewThreadChild* GetViewByID(uint32_t aId);
Expand All @@ -35,6 +33,8 @@ class EmbedLiteAppThreadChild : public PEmbedLiteAppChild,
virtual bool RecvCreateView(const uint32_t& id, const uint32_t& parentId);

protected:
virtual ~EmbedLiteAppThreadChild();

// Embed API ipdl interface
virtual bool RecvSetBoolPref(const nsCString&, const bool&);
virtual bool RecvSetCharPref(const nsCString&, const nsCString&);
Expand Down
4 changes: 2 additions & 2 deletions embedding/embedlite/embedthread/EmbedLiteAppThreadParent.h
Expand Up @@ -16,8 +16,6 @@ class EmbedLiteAppThreadParent : public PEmbedLiteAppParent
{
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(EmbedLiteAppThreadParent)
public:
virtual ~EmbedLiteAppThreadParent();

// IPDL
virtual bool
RecvInitialized();
Expand All @@ -43,6 +41,8 @@ class EmbedLiteAppThreadParent : public PEmbedLiteAppParent
virtual bool DeallocPEmbedLiteViewParent(PEmbedLiteViewParent*);

private:
virtual ~EmbedLiteAppThreadParent();

EmbedLiteAppThreadParent();

EmbedLiteApp* mApp;
Expand Down
3 changes: 2 additions & 1 deletion embedding/embedlite/embedthread/EmbedLiteViewThreadChild.h
Expand Up @@ -30,7 +30,6 @@ class EmbedLiteViewThreadChild : public PEmbedLiteViewChild,
NS_INLINE_DECL_REFCOUNTING(EmbedLiteViewThreadChild)
public:
EmbedLiteViewThreadChild(const uint32_t& id, const uint32_t& parentId);
virtual ~EmbedLiteViewThreadChild();

NS_DECL_NSIEMBEDBROWSERCHROMELISTENER

Expand Down Expand Up @@ -64,6 +63,8 @@ class EmbedLiteViewThreadChild : public PEmbedLiteViewChild,
const nsString& aData);

protected:
virtual ~EmbedLiteViewThreadChild();

virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
virtual bool RecvDestroy();
virtual bool RecvLoadURL(const nsString&);
Expand Down
Expand Up @@ -22,13 +22,13 @@ class EmbedLiteViewThreadParent : public PEmbedLiteViewParent,
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(EmbedLiteViewThreadParent)
public:
EmbedLiteViewThreadParent(const uint32_t& id, const uint32_t& parentId);
virtual ~EmbedLiteViewThreadParent();

NS_DECL_EMBEDLITEVIEWIFACE

EmbedLiteCompositorParent* GetCompositor() { return mCompositor.get(); };

protected:
virtual ~EmbedLiteViewThreadParent();
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
virtual bool RecvInitialized();

Expand Down

0 comments on commit e5ce4ee

Please sign in to comment.