Merge Webkit at r58956: Plugin code has switched to C99 integer types. See http://trac.webkit.org/changeset/58590
Change-Id: Id521afd66935db6149a341f89ab6b4d7440e4695
This commit is contained in:
@@ -43,12 +43,12 @@ static void inval(NPP instance) {
|
||||
browser->invalidaterect(instance, NULL);
|
||||
}
|
||||
|
||||
static uint16 rnd16(float x, int inset) {
|
||||
static uint16_t rnd16(float x, int inset) {
|
||||
int ix = (int)roundf(x) + inset;
|
||||
if (ix < 0) {
|
||||
ix = 0;
|
||||
}
|
||||
return static_cast<uint16>(ix);
|
||||
return static_cast<uint16_t>(ix);
|
||||
}
|
||||
|
||||
static void inval(NPP instance, const ANPRectF& r, bool doAA) {
|
||||
@@ -199,7 +199,7 @@ void FormPlugin::drawPassword(ANPCanvas* canvas, TextInput passwordInput) {
|
||||
}
|
||||
}
|
||||
|
||||
int16 FormPlugin::handleEvent(const ANPEvent* evt) {
|
||||
int16_t FormPlugin::handleEvent(const ANPEvent* evt) {
|
||||
NPP instance = this->inst();
|
||||
|
||||
switch (evt->eventType) {
|
||||
|
||||
Reference in New Issue
Block a user