Skip to content

Commit

Permalink
Fixed build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeshkova committed Sep 27, 2014
1 parent a4e8ddc commit fe57fec
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 13 deletions.
4 changes: 0 additions & 4 deletions embedding/embedlite/tests/Makefile.in
Expand Up @@ -10,10 +10,6 @@ relativesrcdir = @relativesrcdir@

include $(DEPTH)/config/autoconf.mk

DEFINES += -DXPCOM_GLUE
# move me to common, when we link with common library
STL_FLAGS=

LOCAL_INCLUDES += -I$(topsrcdir)/xpcom/build

ifeq (1 ,$(MOZ_X11))
Expand Down
2 changes: 2 additions & 0 deletions embedding/embedlite/tests/embedLiteViewInitTest.cpp
Expand Up @@ -20,6 +20,8 @@
#endif /* MOZ_X11 */
#endif

#include "mozilla/mozalloc.h"

using namespace mozilla::embedlite;

static bool sDoExit = getenv("NORMAL_EXIT");
Expand Down
8 changes: 1 addition & 7 deletions embedding/embedlite/utils/TabChildHelper.cpp
Expand Up @@ -445,13 +445,7 @@ TabChildHelper::ConvertMutiTouchInputToEvent(const mozilla::MultiTouchInput& aDa

aEvent.touches.SetCapacity(aData.mTouches.Length());
for (uint32_t i = 0; i < aData.mTouches.Length(); ++i) {
const SingleTouchData& data = aData.mTouches[i];
nsRefPtr<Touch> t = new Touch(data.mIdentifier,
nsIntPoint(data.mScreenPoint.x, data.mScreenPoint.y),
nsIntPoint(data.mRadius.width, data.mRadius.height),
data.mRotationAngle,
data.mForce);
aEvent.touches.AppendElement(t);
aEvent.touches.AppendElement(aData.mTouches[i].ToNewDOMTouch());
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion ipc/chromium/src/base/message_loop.cc
Expand Up @@ -98,7 +98,7 @@ MessageLoop::MessageLoop(base::MessagePump* messagePump)
next_sequence_num_(0)
{
DCHECK(!current()) << "should only have one message loop per thread";
lazy_tls_ptr.Pointer()->Set(this);
get_tls_ptr().Set(this);
pump_ = messagePump;
}

Expand Down
1 change: 0 additions & 1 deletion ipc/chromium/src/base/message_pump_qt.cc
Expand Up @@ -15,7 +15,6 @@
#include <math.h>

#include "base/eintr_wrapper.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/platform_thread.h"

Expand Down

0 comments on commit fe57fec

Please sign in to comment.